diff options
Diffstat (limited to 'media-sound/squeezelite/files/squeezelite-1.8-gentoo-makefile.patch')
-rw-r--r-- | media-sound/squeezelite/files/squeezelite-1.8-gentoo-makefile.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/squeezelite/files/squeezelite-1.8-gentoo-makefile.patch b/media-sound/squeezelite/files/squeezelite-1.8-gentoo-makefile.patch new file mode 100644 index 0000000..271c199 --- /dev/null +++ b/media-sound/squeezelite/files/squeezelite-1.8-gentoo-makefile.patch @@ -0,0 +1,21 @@ +diff --git a/Makefile b/Makefile +index dca2abd..f6b985f 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + # Cross compile support - create a Makefile which defines these three variables and then includes this Makefile... + CFLAGS ?= -Wall -fPIC -O2 $(OPTS) +-LDFLAGS ?= -lasound -lpthread -lm -lrt ++EXTRALIBS ?= -lasound -lpthread -lm -lrt + EXECUTABLE ?= squeezelite + + # passing one or more of these in $(OPTS) enables optional feature inclusion +@@ -74,7 +74,7 @@ OBJECTS = $(SOURCES:.c=.o) + all: $(EXECUTABLE) + + $(EXECUTABLE): $(OBJECTS) +- $(CC) $(OBJECTS) $(LDFLAGS) -o $@ ++ $(CC) $(OBJECTS) $(LDFLAGS) $(EXTRALIBS) -o $@ + + $(OBJECTS): $(DEPS) + |