Loading acinclude.m4 +5 −1 Original line number Original line Diff line number Diff line Loading @@ -93,9 +93,13 @@ if test -z "$CROSS_COMPILE"; then AC_CACHE_CHECK([whether we need extra options to link $1], AC_CACHE_CHECK([whether we need extra options to link $1], tor_cv_library_$1_linker_option, [ tor_cv_library_$1_linker_option, [ tor_saved_LDFLAGS="$LDFLAGS" tor_saved_LDFLAGS="$LDFLAGS" tor_trydir="$tor_cv_library_$1_dir" runs=no runs=no linked_with=nothing linked_with=nothing if test -d "$tor_cv_library_$1_dir/lib"; then tor_trydir="$tor_cv_library_$1_dir/lib" else tor_trydir="$tor_cv_library_$1_dir" fi for tor_tryextra in "(none)" "-Wl,-R$tor_trydir" "-R$tor_trydir" \ for tor_tryextra in "(none)" "-Wl,-R$tor_trydir" "-R$tor_trydir" \ "-Wl,-rpath,$tor_trydir" ; do "-Wl,-rpath,$tor_trydir" ; do if test "$tor_tryextra" = "(none)"; then if test "$tor_tryextra" = "(none)"; then Loading Loading
acinclude.m4 +5 −1 Original line number Original line Diff line number Diff line Loading @@ -93,9 +93,13 @@ if test -z "$CROSS_COMPILE"; then AC_CACHE_CHECK([whether we need extra options to link $1], AC_CACHE_CHECK([whether we need extra options to link $1], tor_cv_library_$1_linker_option, [ tor_cv_library_$1_linker_option, [ tor_saved_LDFLAGS="$LDFLAGS" tor_saved_LDFLAGS="$LDFLAGS" tor_trydir="$tor_cv_library_$1_dir" runs=no runs=no linked_with=nothing linked_with=nothing if test -d "$tor_cv_library_$1_dir/lib"; then tor_trydir="$tor_cv_library_$1_dir/lib" else tor_trydir="$tor_cv_library_$1_dir" fi for tor_tryextra in "(none)" "-Wl,-R$tor_trydir" "-R$tor_trydir" \ for tor_tryextra in "(none)" "-Wl,-R$tor_trydir" "-R$tor_trydir" \ "-Wl,-rpath,$tor_trydir" ; do "-Wl,-rpath,$tor_trydir" ; do if test "$tor_tryextra" = "(none)"; then if test "$tor_tryextra" = "(none)"; then Loading