source: trunk/dports/cross/arm-apple-darwin-binutils/files/patch-Makefile.in @ 28059

Last change on this file since 28059 was 28059, checked in by landonf@…, 13 years ago

Include my patch for libtool support. Fixes linking of dylibs/bundles using static archives, eg:

arm-apple-darwin-cc -dynamiclib -o test.dylib input.a

Patch submitted to upstream, see:

http://developer.berlios.de/bugs/?func=detailbug&bug_id=11802&group_id=8664

File size: 898 bytes
RevLine 
[27636]1--- Makefile.in.orig    2007-08-08 14:54:14.000000000 -0700
2+++ Makefile.in 2007-08-10 18:29:09.000000000 -0700
[27423]3@@ -15,7 +15,7 @@
4 PREFIX = @prefix@
5 HEAVENLY = @heavenly@
6 
[27636]7-all: heavenly includes cctools driver csu libarmfp
[27423]8+all: cctools
9       
10 heavenly:
11        install -d $(PREFIX)/heavenly && cp -Rn $(HEAVENLY)/* $(PREFIX)/heavenly
[28059]12@@ -27,8 +27,9 @@
[27423]13 cctools:
14        install /usr/include/ar.h cctools/include
[28059]15-       cd cctools && $(MAKE)
16+       cd cctools && $(MAKE) RC_CFLAGS=-DPREFIX=\"$(PREFIX)\"
[27636]17-       install -d cctools/as/aarm_dir/as $(PREFIX)/bin/arm-apple-darwin-as
18-       install -d cctools/ld/ld_dir/ld.NEW $(PREFIX)/bin/arm-apple-darwin-ld
[27423]19+       install cctools/as/aarm_dir/as $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-as
20+       install cctools/ld/ld_dir/ld.NEW $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-ld
[28059]21+       install cctools/misc/libtool.NEW $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-libtool
[27423]22 
23 driver:
24        cd driver && $(MAKE)
Note: See TracBrowser for help on using the repository browser.