source: freewrt/package/libdnet/patches/libdnet-1.10-dnet_config.patch@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 599 bytes
  • libdnet-1.10/dnet-config.in

    old new  
    4545done
    4646
    4747if test "$echo_cflags" = "yes"; then
    48       echo -I@includedir@
     48      includes=
     49      if test "@includedir@" != "/usr/include" ; then
     50             includes=-I@includedir@
     51      fi
     52      echo $includes
    4953fi
    5054
    5155if test "$echo_libs" = "yes"; then
    52       echo -L@libdir@ -ldnet @LIBS@
     56      libs=
     57      if test "@libdir@" != "/usr/lib" ; then
     58             libs=-I@libdir@
     59      fi
     60      echo $libs -ldnet @LIBS@
    5361fi     
    5462
Note: See TracBrowser for help on using the repository browser.