Makefile: make -llibs LDFLAGS
authorIvy Foster <iff@escondida.tk>
Fri, 16 Feb 2018 21:49:34 +0000 (15:49 -0600)
committerIvy Foster <iff@escondida.tk>
Fri, 16 Feb 2018 21:49:34 +0000 (15:49 -0600)
Makefile

index 40b19f4d45c5081a09b66bffbc22fbc472e2d015..9b16854e272fe587bccfc2531be705085b702cee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ BUFFSIZE ?= 4096
 DEFAULT_CONVERTER ?= SRC_SINC_MEDIUM_QUALITY
 
 ifeq ($(SOUND), ao)
-       CFLAGS += -lao -ldl -lpthread -lm -lsndfile -lvorbisfile -lmodplug -lsamplerate
+       LDFLAGS += -lao -ldl -lpthread -lm -lsndfile -lvorbisfile -lmodplug -lsamplerate
 else ifeq ($(SOUND), none)
        CFLAGS += -DNO_SOUND
 else ifndef SOUND