From 2f6b7ba8f650b0798f40af11326575276b2aa89b Mon Sep 17 00:00:00 2001 From: gdd Date: Thu, 5 May 2011 14:03:45 +0000 Subject: [PATCH] Fix to get correct options for gcc-4.6 --- salome_adm/unix/config_files/check_hdf5.m4 | 2 +- salome_adm/unix/config_files/check_omniorb.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/salome_adm/unix/config_files/check_hdf5.m4 b/salome_adm/unix/config_files/check_hdf5.m4 index a5f40547f..b765c9869 100644 --- a/salome_adm/unix/config_files/check_hdf5.m4 +++ b/salome_adm/unix/config_files/check_hdf5.m4 @@ -61,7 +61,7 @@ else else AC_MSG_NOTICE(Trying Hdf5 from $HDF5HOME ...) LOCAL_LIBS="-L$HDF5HOME/lib" - LOCAL_RLIBS="-R$HDF5HOME/lib" + LOCAL_RLIBS="-Wl,-R$HDF5HOME/lib" fi fi diff --git a/salome_adm/unix/config_files/check_omniorb.m4 b/salome_adm/unix/config_files/check_omniorb.m4 index b69bad6cb..50d26728c 100644 --- a/salome_adm/unix/config_files/check_omniorb.m4 +++ b/salome_adm/unix/config_files/check_omniorb.m4 @@ -130,7 +130,7 @@ then OMNIORB_RFLAGS="" else OMNIORB_LDFLAGS="-L$OMNIORB_LIB" - OMNIORB_RFLAGS="-R$OMNIORB_LIB" + OMNIORB_RFLAGS="-Wl,-R$OMNIORB_LIB" fi LIBS_old=$LIBS -- 2.39.2