diff options
Diffstat (limited to 'libpcap/libpcap-0.7.2')
-rw-r--r-- | libpcap/libpcap-0.7.2/ldflags.patch | 27 |
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) + |