patch-pcap-config_in 557 B

123456789101112131415161718192021222324252627
  1. --- libpcap-1.2.1.orig/pcap-config.in 2011-03-28 22:37:56.000000000 +0200
  2. +++ libpcap-1.2.1/pcap-config.in 2012-03-24 11:15:47.343023269 +0100
  3. @@ -36,16 +36,6 @@ do
  4. esac
  5. shift
  6. done
  7. -if [ "$V_RPATH_OPT" != "" ]
  8. -then
  9. - #
  10. - # If libdir isn't /usr/lib, add it to the run-time linker path.
  11. - #
  12. - if [ "$libdir" != "/usr/lib" ]
  13. - then
  14. - RPATH=$V_RPATH_OPT$libdir
  15. - fi
  16. -fi
  17. if [ "$static" = 1 ]
  18. then
  19. #
  20. @@ -84,6 +74,6 @@ else
  21. echo "-I$includedir"
  22. elif [ "$show_libs" = 1 ]
  23. then
  24. - echo "-L$libdir $RPATH -lpcap"
  25. + echo "-L$libdir -lpcap"
  26. fi
  27. fi