Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > de8bd345fe62a50235d08e169e6bec19 > files > 1

libpcap-1.0.0-7mdv2010.0.src.rpm

--- Makefile.in	2008-10-28 02:26:13.000000000 +0100
+++ Makefile.in.oden	2008-12-18 14:07:37.000000000 +0100
@@ -61,6 +61,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 RANLIB = @RANLIB@
+LDFLAGS = @LDFLAGS@
 
 #
 # Flex and bison allow you to specify the prefixes of the global symbols
@@ -326,7 +327,7 @@
 #
 libpcap.so: $(OBJ)
 	@rm -f $@
-	$(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
+	$(CC) -shared -Wl,-soname,$@.1 $(LDFLAGS) -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
 
 #
 # The following rule succeeds, but the result is untested.