]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/libpcap
Merge branch 'master' of ssh://arne_f@ipfire.org/pub/git/ipfire-2.x
[people/pmueller/ipfire-2.x.git] / lfs / libpcap
index cdfa46becebe94da018eee0a774424670ed2751b..c6fdc2ef042608183390fec78e364e1012b09039 100644 (file)
@@ -71,10 +71,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 #      cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libpcap-0.8.3-shared.patch
-#      cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/libpcap-0.8.3-ppp.patch
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
        cd $(DIR_APP) && make
+       cd $(DIR_APP) && make shared
        cd $(DIR_APP) && make install
+       cd $(DIR_APP) && make install-shared-so
+       ln -svf libpcap.so.1.0.0 /usr/lib/libpcap.so.1.0
+       ln -svf libpcap.so.1.0 /usr/lib/libpcap.so.1
+       ln -svf libpcap.so.1 /usr/lib/libpcap.so        
        cd $(DIR_APP) && cp -vf pcap-int.h /usr/include
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)