summaryrefslogtreecommitdiff
path: root/libpcap/libpcap-0.7.2/ldflags.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /libpcap/libpcap-0.7.2/ldflags.patch
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'libpcap/libpcap-0.7.2/ldflags.patch')
-rw-r--r--libpcap/libpcap-0.7.2/ldflags.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/libpcap/libpcap-0.7.2/ldflags.patch b/libpcap/libpcap-0.7.2/ldflags.patch
index e69de29bb2..8802a7e073 100644
--- a/libpcap/libpcap-0.7.2/ldflags.patch
+++ b/libpcap/libpcap-0.7.2/ldflags.patch
@@ -0,0 +1,27 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libpcap-0.7.2/Makefile.in~ldflags
++++ libpcap-0.7.2/Makefile.in
+@@ -59,6 +59,10 @@
+ CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
+ CFLAGS_SHARED = -shared -Wl,-soname,$(SOLIBRARY).$(MAJ)
+
++# Standard LDFLAGS
++LDFLAGS = @LDFLAGS@
++LIBS = -lc
++
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+@@ -118,7 +122,7 @@
+ $(SHAREDLIB): $(OBJ_PIC)
+ -@rm -f $@
+ -@rm -f $(SOLIBRARY) $(SOLIBRARY).$(MAJ)
+- $(CC) $(CFLAGS_SHARED) -o $(SHAREDLIB) $(OBJ_PIC) -lc
++ $(CC) $(CFLAGS_SHARED) -o $(SHAREDLIB) $(OBJ_PIC) $(LIBS) $(LDFLAGS)
+ ln -s $(SHAREDLIB) $(SOLIBRARY).$(MAJ)
+ ln -s $(SOLIBRARY).$(MAJ) $(SOLIBRARY)
+