summaryrefslogtreecommitdiff
path: root/recipes/proxy-libintl/proxy-libintl-20080418
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-10-29 18:40:17 +0000
committerGraeme Gregory <dp@xora.org.uk>2009-10-29 18:40:17 +0000
commitb51c85efe8a2645914fd2a661b0a9ac0d390145c (patch)
tree59e3a4f4eeb462f2e79d15e4d54d4b74f8511ab5 /recipes/proxy-libintl/proxy-libintl-20080418
parent715e7333f3f4cfac2dbbc8d21af00de3f8661ef2 (diff)
proxy-libintl_20080418.bb : add an SONAME to library
Found in Ångström build. libintl.so built from this recipe was not getting an soname so the automatic shlibs code was failing making packages that should depend on this not. Ultimately leading to failing images.
Diffstat (limited to 'recipes/proxy-libintl/proxy-libintl-20080418')
-rw-r--r--recipes/proxy-libintl/proxy-libintl-20080418/soname.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/proxy-libintl/proxy-libintl-20080418/soname.patch b/recipes/proxy-libintl/proxy-libintl-20080418/soname.patch
new file mode 100644
index 0000000000..d2e8064372
--- /dev/null
+++ b/recipes/proxy-libintl/proxy-libintl-20080418/soname.patch
@@ -0,0 +1,13 @@
+Index: proxy-libintl-20080418-r1/src/proxy-libintl/Makefile
+===================================================================
+--- proxy-libintl-20080418-r1.orig/src/proxy-libintl/Makefile
++++ proxy-libintl-20080418-r1/src/proxy-libintl/Makefile
+@@ -7,7 +7,7 @@ CFLAGS = -Wall -I ../../include
+ all : ../../lib/libintl.so ../../lib/intl.lib
+
+ ../../lib/libintl.so : libintl.o
+- $(CC) -shared -o $@ libintl.o
++ $(CC) -shared -Wl,-soname -Wl,libintl.so -o $@ libintl.o
+
+ ../../lib/intl.lib : ../../lib/libintl.so
+ cp ../../lib/libintl.so $@