Ticket #48983: portconfigure.diff

File portconfigure.diff, 582 bytes (added by RJVB (René Bertin), 9 years ago)
  • port1.0/portconfigure.tcl

    old new  
    198144default configure.cppflags      {-I${prefix}/include}
    199 default configure.ldflags       {"-L${prefix}/lib -Wl,-headerpad_max_install_names"}
     145if {${os.platform} eq "darwin"} {
     146        default configure.ldflags  {"-L${prefix}/lib -Wl,-headerpad_max_install_names"}
     147} else {
     148        default configure.ldflags  {"-L${prefix}/lib -Wl,-rpath,${prefix}/lib"}
     149}
    200150default configure.libs          {}