summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-06 12:28:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-06 12:28:56 +0200
commit9ad6aa1fec3b965686b298ed35b8af636b4921c6 (patch)
treee69220d40a8077277515cffb4c464fd1796cb75e
parente797fabb28117e2f40de7a5b4c123910976331fa (diff)
downloadptxdist-9ad6aa1fec3b965686b298ed35b8af636b4921c6.tar.gz
ptxdist-9ad6aa1fec3b965686b298ed35b8af636b4921c6.tar.xz
[glib] add hack to fix broken libtool
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/glib-2.25.10/0001-HACK-don-t-drop-dependency-libs.patch35
-rw-r--r--patches/glib-2.25.10/series1
2 files changed, 36 insertions, 0 deletions
diff --git a/patches/glib-2.25.10/0001-HACK-don-t-drop-dependency-libs.patch b/patches/glib-2.25.10/0001-HACK-don-t-drop-dependency-libs.patch
new file mode 100644
index 000000000..353fa0c7a
--- /dev/null
+++ b/patches/glib-2.25.10/0001-HACK-don-t-drop-dependency-libs.patch
@@ -0,0 +1,35 @@
+From ec38987a4850b2bd613e45dd952faf9af72b8c20 Mon Sep 17 00:00:00 2001
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Tue, 6 Jul 2010 12:28:03 +0200
+Subject: [PATCH] HACK: don't drop dependency libs
+
+On Linux the configure script generates a libtool that will drop dependency
+libs when linking a library/program. This is done to avoid explicitly
+linking to implicit depencencies. This is usually the right thing to do.
+However it breaks if the implicit depencencies are not installed.
+
+This patch ensures that libtool will link to all dependency libs to avoid
+the problem.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ configure | 3 ---
+ 1 files changed, 0 insertions(+), 3 deletions(-)
+
+diff --git a/configure b/configure
+index 046d740..f8220a4 100755
+--- a/configure
++++ b/configure
+@@ -13920,9 +13920,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+- linux* | k*bsd*-gnu)
+- link_all_deplibs=no
+- ;;
+ esac
+
+ ld_shlibs=yes
+--
+1.7.1
+
diff --git a/patches/glib-2.25.10/series b/patches/glib-2.25.10/series
new file mode 100644
index 000000000..645fbe819
--- /dev/null
+++ b/patches/glib-2.25.10/series
@@ -0,0 +1 @@
+0001-HACK-don-t-drop-dependency-libs.patch