summaryrefslogtreecommitdiff
path: root/package/libiconv/patches/patch-preload_Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-10-11 19:36:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-10-11 19:36:32 +0200
commit6d26b19269a28ff576e872473cb3b4610a61fceb (patch)
treed93378254682782dbe0175dcf69edb1fbf65dbe3 /package/libiconv/patches/patch-preload_Makefile_in
parentb45a02c444117a90d202706013d71a56813990e1 (diff)
make more apps statically linkable
- update libusb to latest upstream - update bluez to latest upstream - add a new PKG_OPTS option: libonly, useful for library only packages, which are not created, when static linking is choosen
Diffstat (limited to 'package/libiconv/patches/patch-preload_Makefile_in')
-rw-r--r--package/libiconv/patches/patch-preload_Makefile_in16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/libiconv/patches/patch-preload_Makefile_in b/package/libiconv/patches/patch-preload_Makefile_in
new file mode 100644
index 000000000..5aa7e91e0
--- /dev/null
+++ b/package/libiconv/patches/patch-preload_Makefile_in
@@ -0,0 +1,16 @@
+--- libiconv-1.13.orig/preload/Makefile.in 2009-01-17 00:11:37.000000000 +0100
++++ libiconv-1.13/preload/Makefile.in 2009-10-10 22:01:15.666144195 +0200
+@@ -54,11 +54,11 @@ preloadable_libiconv.so : $(SOURCES)
+ done && \
+ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) -o libiconv.la -rpath $(libdir) -no-undefined objects/*.lo && \
+ $(RM) -r objects
+- cp .libs/libiconv.so preloadable_libiconv.so
++ -test -f .libs/libiconv.so && cp .libs/libiconv.so preloadable_libiconv.so
+
+ install : all force
+ if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
+- if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
++ -if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
+
+ install-strip : install
+