Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[vuplus_openembedded] / recipes / libpcap / libpcap-1.0.0 / ldflags.patch
1 diff -urN libpcap-1.0.0.orig/Makefile.in libpcap-1.0.0/Makefile.in
2 --- libpcap-1.0.0.orig/Makefile.in      2008-10-28 01:26:13.000000000 +0000
3 +++ libpcap-1.0.0/Makefile.in   2009-04-02 13:54:20.000000000 +0000
4 @@ -326,7 +326,7 @@
5  #
6  libpcap.so: $(OBJ)
7         @rm -f $@
8 -       $(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
9 +       $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
10  
11  #
12  # The following rule succeeds, but the result is untested.