aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-09-02 14:12:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 12:57:11 +0100
commitefdc4bff8dff4bf065a7c65e7d1c9f5460839a24 (patch)
treea51a2f623b2907b8f9e2cace3c509453723b2a5e /meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch
parentc91d9153d5dc6750d1f4c7b3be58da0a1248245b (diff)
downloadopenembedded-core-contrib-efdc4bff8dff4bf065a7c65e7d1c9f5460839a24.tar.gz
openembedded-core-contrib-efdc4bff8dff4bf065a7c65e7d1c9f5460839a24.tar.bz2
openembedded-core-contrib-efdc4bff8dff4bf065a7c65e7d1c9f5460839a24.zip
gdbm-1.8.3: obey LDFLAGS
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Diffstat (limited to 'meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch')
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch b/meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch
new file mode 100644
index 0000000000..770d8f66b9
--- /dev/null
+++ b/meta/recipes-support/gdbm/gdbm-1.8.3/ldflags.patch
@@ -0,0 +1,22 @@
+Obey LDFLAGS
+
+Signed-off-by: Christopher Larson <chris_larson@mentor.com>
+Upstream-status: Inappropriate [old version]
+
+--- gdbm-1.8.3.orig/Makefile.in
++++ gdbm-1.8.3/Makefile.in
+@@ -156,12 +156,12 @@ install-compat:
+
+ libgdbm.la: $(LOBJS) gdbm.h
+ rm -f libgdbm.la
+- $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm.la -rpath $(libdir) \
+ -version-info $(SHLIB_VER) $(LOBJS)
+
+ libgdbm_compat.la: $(C_LOBJS) gdbm.h
+ rm -f libgdbm_compat.la
+- $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm_compat.la -rpath $(libdir) \
+ -version-info $(SHLIB_VER) $(C_LOBJS)
+
+ gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2