1
0

libdnet-1.10-dnet_config.patch 599 B

1234567891011121314151617181920212223
  1. --- libdnet-1.10/dnet-config.in.orig 2001-10-19 03:29:00.000000000 +0200
  2. +++ libdnet-1.10/dnet-config.in 2005-09-20 09:32:53.000000000 +0200
  3. @@ -45,10 +45,18 @@
  4. done
  5. if test "$echo_cflags" = "yes"; then
  6. - echo -I@includedir@
  7. + includes=
  8. + if test "@includedir@" != "/usr/include" ; then
  9. + includes=-I@includedir@
  10. + fi
  11. + echo $includes
  12. fi
  13. if test "$echo_libs" = "yes"; then
  14. - echo -L@libdir@ -ldnet @LIBS@
  15. + libs=
  16. + if test "@libdir@" != "/usr/lib" ; then
  17. + libs=-I@libdir@
  18. + fi
  19. + echo $libs -ldnet @LIBS@
  20. fi