Skip to content
Snippets Groups Projects
Commit 136c0f54 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

r12542@Kushana: nickm | 2007-03-15 10:17:50 -0400

 When checking whether we need extra options to link at runtime against a library, be sure to actually look in the lib directory.


svn:r9827
parent 2ad40312
No related branches found
No related tags found
No related merge requests found
......@@ -93,9 +93,13 @@ if test -z "$CROSS_COMPILE"; then
AC_CACHE_CHECK([whether we need extra options to link $1],
tor_cv_library_$1_linker_option, [
tor_saved_LDFLAGS="$LDFLAGS"
tor_trydir="$tor_cv_library_$1_dir"
runs=no
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" \
"-Wl,-rpath,$tor_trydir" ; do
if test "$tor_tryextra" = "(none)"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment