Makefile.lite fixes

Patch-from: Robert Kausch <robert.kausch@freac.org>
This commit is contained in:
Erik de Castro Lopo
2016-12-11 20:17:49 +11:00
parent 2f84030092
commit 9e5dd48473
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ else
LINKD = $(CC) -shared
endif
BASE_CFLAGS = -Wall -Wextra $(CONFIG_CFLAGS) -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
BASE_CFLAGS = -Wall -Wextra $(CONFIG_CFLAGS) -DVERSION=$(VERSION) -DPACKAGE_VERSION=$(VERSION) $(DEFINES) $(INCLUDES)
ifeq ($(DEFAULT_BUILD),debug)
CFLAGS := -g -O0 -DDEBUG $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes

View File

@@ -30,9 +30,9 @@ PROGRAM_NAME = test_streams
INCLUDES = -I./include -I$(topdir)/include
ifeq ($(OS),Darwin)
EXPLICIT_LIBS = $(libdir)/libgrabbag.a -lm
EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a -lm
else
LIBS = -lgrabbag -lm
LIBS = -lgrabbag -lreplaygain_analysis -lm
endif
SRCS_C = \