Fix build failure due to missing -ldl.
authorAndres Mejia <mcitadel@gmail.com>
Sun, 1 May 2011 01:55:17 +0000 (21:55 -0400)
committerAndres Mejia <mcitadel@gmail.com>
Sun, 1 May 2011 01:55:17 +0000 (21:55 -0400)
debian/patches/mp4client-makefile-fix.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/patches/mp4client-makefile-fix.patch b/debian/patches/mp4client-makefile-fix.patch
new file mode 100644 (file)
index 0000000..22d4c41
--- /dev/null
@@ -0,0 +1,13 @@
+Description: Patch fixes build failure due to missing -ldl.
+Origin: http://git.debian.org/?p=pkg-multimedia/gpac.git
+--- a/applications/mp4client/Makefile
++++ b/applications/mp4client/Makefile
+@@ -4,7 +4,7 @@
+ CFLAGS= $(OPTFLAGS) -I"$(SRC_PATH)/include" -I../../
+-LINKLIBS=$(OGL_LIBS)
++LINKLIBS=$(OGL_LIBS) $(GPAC_SH_FLAGS)
+ ifeq ($(DEBUGBUILD), yes)
+ CFLAGS+=-g
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..8418043
--- /dev/null
@@ -0,0 +1 @@
+mp4client-makefile-fix.patch