Ticket #29982: patch-configure.diff

File patch-configure.diff, 2.4 KB (added by ak.ml@…, 13 years ago)

Change -Wl,-R with -Wl,-rpath,

  • configure

    old new  
    1723117231      LDFLAGS=$boost_save_LDFLAGS
    1723217232      LIBS=$boost_save_LIBS
    1723317233      if test x"$boost_cv_lib_date_time" = xyes; then
    17234         boost_cv_lib_date_time_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath"
     17234        boost_cv_lib_date_time_LDFLAGS="-L$boost_ldpath -Wl,-rpath,$boost_ldpath"
    1723517235        boost_cv_lib_date_time_LDPATH="$boost_ldpath"
    1723617236        break 6
    1723717237      else
     
    1744917449      LDFLAGS=$boost_save_LDFLAGS
    1745017450      LIBS=$boost_save_LIBS
    1745117451      if test x"$boost_cv_lib_program_options" = xyes; then
    17452         boost_cv_lib_program_options_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath"
     17452        boost_cv_lib_program_options_LDFLAGS="-L$boost_ldpath -Wl,-rpath,$boost_ldpath"
    1745317453        boost_cv_lib_program_options_LDPATH="$boost_ldpath"
    1745417454        break 6
    1745517455      else
     
    1766717667      LDFLAGS=$boost_save_LDFLAGS
    1766817668      LIBS=$boost_save_LIBS
    1766917669      if test x"$boost_cv_lib_iostreams" = xyes; then
    17670         boost_cv_lib_iostreams_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath"
     17670        boost_cv_lib_iostreams_LDFLAGS="-L$boost_ldpath -Wl,-rpath,$boost_ldpath"
    1767117671        boost_cv_lib_iostreams_LDPATH="$boost_ldpath"
    1767217672        break 6
    1767317673      else
     
    1788917889      LDFLAGS=$boost_save_LDFLAGS
    1789017890      LIBS=$boost_save_LIBS
    1789117891      if test x"$boost_cv_lib_system" = xyes; then
    17892         boost_cv_lib_system_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath"
     17892        boost_cv_lib_system_LDFLAGS="-L$boost_ldpath -Wl,-rpath,$boost_ldpath"
    1789317893        boost_cv_lib_system_LDPATH="$boost_ldpath"
    1789417894        break 6
    1789517895      else
     
    1811218112      LDFLAGS=$boost_save_LDFLAGS
    1811318113      LIBS=$boost_save_LIBS
    1811418114      if test x"$boost_cv_lib_filesystem" = xyes; then
    18115         boost_cv_lib_filesystem_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath"
     18115        boost_cv_lib_filesystem_LDFLAGS="-L$boost_ldpath -Wl,-rpath,$boost_ldpath"
    1811618116        boost_cv_lib_filesystem_LDPATH="$boost_ldpath"
    1811718117        break 6
    1811818118      else
     
    1833618336      LDFLAGS=$boost_save_LDFLAGS
    1833718337      LIBS=$boost_save_LIBS
    1833818338      if test x"$boost_cv_lib_system" = xyes; then
    18339         boost_cv_lib_system_LDFLAGS="-L$boost_ldpath -Wl,-R$boost_ldpath"
     18339        boost_cv_lib_system_LDFLAGS="-L$boost_ldpath -Wl,-rpath,$boost_ldpath"
    1834018340        boost_cv_lib_system_LDPATH="$boost_ldpath"
    1834118341        break 6
    1834218342      else