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
|
||||
# CXXFLAGS += -DTEXTURE_DEBUG
|
||||
|
||||
LDFLAGS := -lm -ldl -lpng \
|
||||
-L../external -L../libultraship -lz -lbz2 -pthread -lpulse -lultraship -lstorm -lSDL2 -lGLEW -lX11
|
||||
LDFLAGS := -lm -ldl \
|
||||
-L../external -L../libultraship -lbz2 -pthread -lpulse -lultraship -lstorm
|
||||
|
||||
ifeq ($(UNAME), Darwin)
|
||||
LDFLAGS += $(shell pkg-config --libs glew x11 libpng) $(shell sdl2-config --libs) -framework OpenGL
|
||||
else
|
||||
LDFLAGS += -lGL
|
||||
LDFLAGS += -lpng -lGL -lGLEW -lX11 -lz -lSDL2
|
||||
endif
|
||||
|
||||
# Use LLD if available. Set LLD=0 to not use it
|
||||
|
|
|
@ -106,7 +106,6 @@ endif
|
|||
LDLIBS := \
|
||||
$(ZAPDUTILS) \
|
||||
$(addprefix -l, \
|
||||
X11 \
|
||||
dl \
|
||||
bz2 \
|
||||
z \
|
||||
|
@ -119,6 +118,7 @@ LDLIBS := \
|
|||
ifeq ($(UNAME), Linux) #LINUX
|
||||
LDLIBS += \
|
||||
$(addprefix -l, \
|
||||
X11 \
|
||||
GL \
|
||||
pulse \
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue