From efbc7fe76ca09c3e760d1d42c35f97312a068ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Thu, 2 Apr 2009 13:56:49 +0000 Subject: libpcap: add patch to use LDFLAGS (fixes QA error) --- recipes/libpcap/libpcap-1.0.0/ldflags.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes/libpcap/libpcap-1.0.0/ldflags.patch (limited to 'recipes/libpcap/libpcap-1.0.0/ldflags.patch') diff --git a/recipes/libpcap/libpcap-1.0.0/ldflags.patch b/recipes/libpcap/libpcap-1.0.0/ldflags.patch new file mode 100644 index 0000000000..66ab5f725f --- /dev/null +++ b/recipes/libpcap/libpcap-1.0.0/ldflags.patch @@ -0,0 +1,12 @@ +diff -urN libpcap-1.0.0.orig/Makefile.in libpcap-1.0.0/Makefile.in +--- libpcap-1.0.0.orig/Makefile.in 2008-10-28 01:26:13.000000000 +0000 ++++ libpcap-1.0.0/Makefile.in 2009-04-02 13:54:20.000000000 +0000 +@@ -326,7 +326,7 @@ + # + libpcap.so: $(OBJ) + @rm -f $@ +- $(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS) ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS) + + # + # The following rule succeeds, but the result is untested. -- cgit v1.2.3