diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-04-02 19:45:18 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-04-02 19:45:18 +0000 |
commit | 7de2f107cf18ed77f9eaa0a5a7d6a07b552ce7af (patch) | |
tree | ecef2e6c40748def7d5cc68fdedf4a4674ece55b /recipes/libpcap | |
parent | 9c67c93114222bc6a33e653c21a1fa71a5d65e5e (diff) | |
parent | bc4bf696b52c62c68c58c41daffa2aa1c3949492 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/libpcap')
-rw-r--r-- | recipes/libpcap/libpcap-1.0.0/ldflags.patch | 12 | ||||
-rw-r--r-- | recipes/libpcap/libpcap_1.0.0.bb | 3 |
2 files changed, 14 insertions, 1 deletions
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. diff --git a/recipes/libpcap/libpcap_1.0.0.bb b/recipes/libpcap/libpcap_1.0.0.bb index b85bf4c5d4..6dfc056930 100644 --- a/recipes/libpcap/libpcap_1.0.0.bb +++ b/recipes/libpcap/libpcap_1.0.0.bb @@ -1,9 +1,10 @@ require libpcap.inc -PR = "r5" +PR = "r6" SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" SRC_URI += "file://aclocal.patch;patch=1" SRC_URI += "file://ieee80215-arphrd.patch;patch=1" +SRC_URI += "file://ldflags.patch;patch=1" do_compile () { oe_runmake |