summaryrefslogtreecommitdiffstats
path: root/main/libnl/libnl-1.1-flags.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-19 14:22:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-19 14:22:00 +0000
commitfe3c74dd23459bd5a35e3d14d5f999fc17bd923a (patch)
tree73119e34ac99b04195267f4bcfcc833a6a6912ad /main/libnl/libnl-1.1-flags.patch
parent04ccd94d8d28394c087efcc17d954dcb555b7208 (diff)
downloadaports-fe3c74dd23459bd5a35e3d14d5f999fc17bd923a.tar.bz2
aports-fe3c74dd23459bd5a35e3d14d5f999fc17bd923a.tar.xz
main/libnl: moved from testing
needed by wpa_supplicant
Diffstat (limited to 'main/libnl/libnl-1.1-flags.patch')
-rw-r--r--main/libnl/libnl-1.1-flags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/libnl/libnl-1.1-flags.patch b/main/libnl/libnl-1.1-flags.patch
new file mode 100644
index 000000000..bb09b3626
--- /dev/null
+++ b/main/libnl/libnl-1.1-flags.patch
@@ -0,0 +1,11 @@
+--- libnl-1.1/lib/Makefile.orig 2008-01-14 16:48:45.000000000 +0100
++++ libnl-1.1/lib/Makefile 2009-05-26 09:47:42.000000000 +0200
+@@ -48,7 +48,7 @@
+
+ $(OUT_SLIB): ../Makefile.opts $(OBJ)
+ @echo " LD $(OUT_SLIB)"; \
+- $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc
++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc
+ @echo " LN $(OUT_SLIB) $(LN1_SLIB)"; \
+ rm -f $(LN1_SLIB) ; $(LN) -s $(OUT_SLIB) $(LN1_SLIB)
+ @echo " LN $(LN1_SLIB) $(LN_SLIB)"; \