summaryrefslogtreecommitdiff
path: root/packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch')
-rw-r--r--packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch b/packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch
new file mode 100644
index 0000000000..428df53a94
--- /dev/null
+++ b/packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch
@@ -0,0 +1,13 @@
+--- libnl-1.0-pre8/Makefile.opts.in.orig 2007-11-21 18:25:39.000000000 +0100
++++ libnl-1.0-pre8/Makefile.opts.in 2008-04-04 23:38:40.000000000 +0200
+@@ -10,8 +10,8 @@
+ #
+
+ CC := @CC@
+-CFLAGS := @CFLAGS@
+-LDFLAGS := @LDFLAGS@
++CFLAGS := -I./include -I. -I../include @CFLAGS@
++LDFLAGS :=
+ CPPFLAGS := @CPPFLAGS@
+ PACKAGE_NAME := @PACKAGE_NAME@
+ PACKAGE_VERSION := @PACKAGE_VERSION@