diff options
-rw-r--r-- | src/config/ChangeLog | 5 | ||||
-rw-r--r-- | src/config/shlib.conf | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog index f04f6ac3c..81cec7497 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 Ken Raeburn <raeburn@mit.edu> + + * shlib.conf (*-*-darwin*, *-*-rhapsody*): Add + -Wl,-search_paths_first to linker flags. + 2004-06-04 Ken Raeburn <raeburn@mit.edu> * lib.in (lib*, clean-*, install-*): Use $(LIBBASE) instead of diff --git a/src/config/shlib.conf b/src/config/shlib.conf index bc545c494..03eee7156 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -258,6 +258,7 @@ mips-*-netbsd*) CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -dynamic $(CFLAGS) $(LDFLAGS)' CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)' RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;' + LDFLAGS="${LDFLAGS} -Wl,-search_paths_first" default_static=yes default_shared=no ;; |