Fix build in 12 by respecting LDFLAGS

This commit is contained in:
Dmitry Marakasov 2019-01-06 09:12:26 +00:00
parent ee8715f210
commit f96ccfd49b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489448

View File

@ -14,7 +14,7 @@
CFLAGS+= -static-libgcc
else
- LIBRARIES= -lGL -lGLU -lSDL -lopenal -lalut
+ LIBRARIES= -lGL -lGLU `${SDL_CONFIG} --libs` -lopenal -lalut
+ LIBRARIES= ${LDFLAGS} -lGL -lGLU `${SDL_CONFIG} --libs` -lopenal -lalut
TARGET=dist/linwarrior
MKDIR=mkdir
RM=rm -f