Fix linking on non-linux posix systems
This commit is contained in:
parent
5449357396
commit
2d081fc7e1
5
makefile
5
makefile
@ -41,7 +41,10 @@ ifneq ($(WINDOWS),1)
|
|||||||
#*nix settings
|
#*nix settings
|
||||||
CC::=gcc
|
CC::=gcc
|
||||||
CXX::=g++
|
CXX::=g++
|
||||||
LDLIBS::=-lglfw -lglad -ldl -lm -lportaudio -lasound -lsndfile -lpthread
|
LDLIBS::=-lglfw -lglad -ldl -lm -lportaudio -lsndfile -lpthread
|
||||||
|
ifeq ($(shell uname -s),Linux)
|
||||||
|
LDLIBS+=-lasound
|
||||||
|
endif
|
||||||
LDFLAGS::=
|
LDFLAGS::=
|
||||||
DEBUG_LDLIBS::=
|
DEBUG_LDLIBS::=
|
||||||
DEBUG_LDFLAGS::=
|
DEBUG_LDFLAGS::=
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user