Fix linking on non-linux posix systems

This commit is contained in:
rexy712 2020-09-29 13:55:44 -07:00
parent 5449357396
commit 2d081fc7e1

View File

@ -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::=