|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
diff -up gpac/src/Makefile.soname gpac/src/Makefile
|
|
|
|
|
--- gpac/src/Makefile.soname 2011-09-22 22:52:41.453724213 +0200
|
|
|
|
|
+++ gpac/src/Makefile 2011-09-22 22:56:31.621576300 +0200
|
|
|
|
|
@@ -158,12 +158,17 @@ endif
|
|
|
|
|
--- gpac/src/Makefile.soname 2011-07-01 17:38:17.000000000 +0200
|
|
|
|
|
+++ gpac/src/Makefile 2011-10-03 22:25:32.362122207 +0200
|
|
|
|
|
@@ -158,17 +158,19 @@ endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##libgpac library output
|
|
|
|
@ -9,19 +9,22 @@ diff -up gpac/src/Makefile.soname gpac/src/Makefile
|
|
|
|
|
+LIBGPAC=libgpac.$(DYN_LIB_SUFFIX)
|
|
|
|
|
+LIBGPAC_SOVERSION=".0"
|
|
|
|
|
+LIBGPAC_SONAME=$(LIBGPAC)$(LIBGPAC_SOVERSION)
|
|
|
|
|
+LD_SONAME="-Wl,-soname,$(LIBGPAC_SONAME)"
|
|
|
|
|
ifeq ($(CONFIG_WIN32),yes)
|
|
|
|
|
#LDFLAGS+=-export-symbols libgpac.def
|
|
|
|
|
+LD_SONAME=
|
|
|
|
|
else
|
|
|
|
|
ifeq ($(CONFIG_DARWIN),yes)
|
|
|
|
|
-LDFLAGS+=-install_name $(prefix)/lib/$(LIB)
|
|
|
|
|
+LDFLAGS+=-install_name $(prefix)/lib/$(LIBGPAC)
|
|
|
|
|
+LD_SONAME=
|
|
|
|
|
endif
|
|
|
|
|
EXTRALIBS+=$(GPAC_SH_FLAGS)
|
|
|
|
|
endif
|
|
|
|
|
@@ -181,7 +186,7 @@ SRCS := $(OBJS:.o=.c)
|
|
|
|
|
|
|
|
|
|
-LD_SONAME="-Wl,-soname,$(LIB)"
|
|
|
|
|
+LD_SONAME="-Wl,-soname,$(LIBGPAC_SONAME)"
|
|
|
|
|
ifeq ($(CONFIG_DARWIN), yes)
|
|
|
|
|
LD_SONAME=
|
|
|
|
|
endif
|
|
|
|
|
@@ -181,7 +183,7 @@ SRCS := $(OBJS:.o=.c)
|
|
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
|
@ -30,7 +33,7 @@ diff -up gpac/src/Makefile.soname gpac/src/Makefile
|
|
|
|
|
|
|
|
|
|
#there's a bunch of warnings in there, get rid of them
|
|
|
|
|
mcrypt: CFLAGS= $(OPTFLAGS) -w -I"$(SRC_PATH)/include"
|
|
|
|
|
@@ -200,7 +205,7 @@ compositor: $(LIBGPAC_COMPOSITOR)
|
|
|
|
|
@@ -200,7 +202,7 @@ compositor: $(LIBGPAC_COMPOSITOR)
|
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -39,7 +42,7 @@ diff -up gpac/src/Makefile.soname gpac/src/Makefile
|
|
|
|
|
ifeq ($(CONFIG_DARWIN),yes)
|
|
|
|
|
libtool -s -o ../bin/gcc/libgpac_static.a $(OBJS)
|
|
|
|
|
ranlib ../bin/gcc/libgpac_static.a
|
|
|
|
|
@@ -218,7 +223,7 @@ depend:
|
|
|
|
|
@@ -218,7 +220,7 @@ depend:
|
|
|
|
|
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|