Update gpac-soname.patch

el8
Nicolas Chauvet 13 years ago
parent 5b38c1937a
commit c2fce099e9

@ -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:

@ -17,7 +17,7 @@
Name: gpac
Summary: MPEG-4 multimedia framework
Version: 0.4.6
Release: 0.16.svn%{?svn}%{?dist}
Release: 0.17.svn%{?svn}%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://gpac.sourceforge.net/
@ -331,6 +331,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Oct 03 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.4.6-0.17.svn20110923
- Update gpac-soname.patch
* Fri Sep 23 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.4.6-0.16svn20110923
- Update to 20110923
- Fix svnversion

Loading…
Cancel
Save