blob: 3b37cfe0dfc86e62a5aa3bb280545a38e59d07a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
http://bugs.gentoo.org/258331
http://bugs.gentoo.org/310257
http://bugs.gentoo.org/331067
Also fix underlinkage of the pulse module.
Index: gpac/modules/jack/Makefile
===================================================================
--- gpac.orig/modules/jack/Makefile
+++ gpac/modules/jack/Makefile
@@ -25,7 +25,7 @@ LIB=gm_jack.$(DYN_LIB_SUFFIX)
all: $(LIB)
$(LIB): $(OBJS)
- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -ljack
+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -ljack
%.o: %.c
Index: gpac/modules/oss_audio/Makefile
===================================================================
--- gpac.orig/modules/oss_audio/Makefile
+++ gpac/modules/oss_audio/Makefile
@@ -35,7 +35,7 @@ LIB=gm_oss_audio.$(DYN_LIB_SUFFIX)
all: $(LIB)
$(LIB): $(OBJS)
- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac $(OSS_LDFLAGS)
+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac $(OSS_LDFLAGS)
ifeq ($(STATICBUILD),yes)
$(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/gm_oss_audio-static.$(DYN_LIB_SUFFIX) $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac_static $(OSS_LDFLAGS)
endif
Index: gpac/modules/pulseaudio/Makefile
===================================================================
--- gpac.orig/modules/pulseaudio/Makefile
+++ gpac/modules/pulseaudio/Makefile
@@ -25,7 +25,7 @@ LIB=gm_pulseaudio.$(DYN_LIB_SUFFIX)
all: $(LIB)
$(LIB): $(OBJS)
- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -lpulse-simple
+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -lpulse-simple -lpulse
%.o: %.c
|