From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-wireless/wireless-tools/files: wireless-tools-29-asneeded.patch |
Date: | Tue, 22 Apr 2008 11:18:35 |
Message-Id: | E1JoGW8-0004qV-Tg@stork.gentoo.org |
1 | flameeyes 08/04/22 11:18:32 |
2 | |
3 | Added: wireless-tools-29-asneeded.patch |
4 | Log: |
5 | Add a patch to respect LDFLAGS on the shared library and fix buidling with --as-needed turned on. |
6 | (Portage version: 2.1.5_rc5) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: wireless-tools-29-asneeded.patch |
15 | =================================================================== |
16 | Index: wireless_tools.29/Makefile |
17 | =================================================================== |
18 | --- wireless_tools.29.orig/Makefile |
19 | +++ wireless_tools.29/Makefile |
20 | @@ -145,7 +145,7 @@ wireless.h: |
21 | |
22 | # Compilation of the dynamic library |
23 | $(DYNAMIC): $(OBJS:.o=.so) |
24 | - $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^ |
25 | + $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc |
26 | |
27 | # Compilation of the static library |
28 | $(STATIC): $(OBJS:.o=.so) |
29 | |
30 | |
31 | |
32 | -- |
33 | gentoo-commits@l.g.o mailing list |