mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Remove some platform specific libs
This commit is contained in:
parent
f3a66eaa06
commit
686e5b3824
2 changed files with 4 additions and 4 deletions
|
@ -45,13 +45,13 @@ ifneq ($(DEPRECATION_ON),0)
|
||||||
endif
|
endif
|
||||||
# CXXFLAGS += -DTEXTURE_DEBUG
|
# CXXFLAGS += -DTEXTURE_DEBUG
|
||||||
|
|
||||||
LDFLAGS := -lm -ldl -lpng \
|
LDFLAGS := -lm -ldl \
|
||||||
-L../external -L../libultraship -lz -lbz2 -pthread -lpulse -lultraship -lstorm -lSDL2 -lGLEW -lX11
|
-L../external -L../libultraship -lbz2 -pthread -lpulse -lultraship -lstorm
|
||||||
|
|
||||||
ifeq ($(UNAME), Darwin)
|
ifeq ($(UNAME), Darwin)
|
||||||
LDFLAGS += $(shell pkg-config --libs glew x11 libpng) $(shell sdl2-config --libs) -framework OpenGL
|
LDFLAGS += $(shell pkg-config --libs glew x11 libpng) $(shell sdl2-config --libs) -framework OpenGL
|
||||||
else
|
else
|
||||||
LDFLAGS += -lGL
|
LDFLAGS += -lpng -lGL -lGLEW -lX11 -lz -lSDL2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Use LLD if available. Set LLD=0 to not use it
|
# Use LLD if available. Set LLD=0 to not use it
|
||||||
|
|
|
@ -106,7 +106,6 @@ endif
|
||||||
LDLIBS := \
|
LDLIBS := \
|
||||||
$(ZAPDUTILS) \
|
$(ZAPDUTILS) \
|
||||||
$(addprefix -l, \
|
$(addprefix -l, \
|
||||||
X11 \
|
|
||||||
dl \
|
dl \
|
||||||
bz2 \
|
bz2 \
|
||||||
z \
|
z \
|
||||||
|
@ -119,6 +118,7 @@ LDLIBS := \
|
||||||
ifeq ($(UNAME), Linux) #LINUX
|
ifeq ($(UNAME), Linux) #LINUX
|
||||||
LDLIBS += \
|
LDLIBS += \
|
||||||
$(addprefix -l, \
|
$(addprefix -l, \
|
||||||
|
X11 \
|
||||||
GL \
|
GL \
|
||||||
pulse \
|
pulse \
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue