summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2004-09-22 21:57:25 +0000
committerTom Yu <tlyu@mit.edu>2004-09-22 21:57:25 +0000
commitcd313f90e3dbca46841aefded1d4d87e890b579d (patch)
tree2b3d85249034934f41698cf6bf2c2ee04b6c8abe /src/config
parent1c99dc89933e8ffbbeefe584861b4902d02ed470 (diff)
downloadkrb5-cd313f90e3dbca46841aefded1d4d87e890b579d.tar.gz
krb5-cd313f90e3dbca46841aefded1d4d87e890b579d.tar.xz
krb5-cd313f90e3dbca46841aefded1d4d87e890b579d.zip
Only use -Wl,-oldstyle_liblookup if using native linker. Check for
native linker if using gcc. ticket: 927 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16776 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ChangeLog6
-rw-r--r--src/config/shlib.conf3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index 1f3c31f5c..2f1bb9f64 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-22 Tom Yu <tlyu@mit.edu>
+
+ * shlib.conf (alpha*-dec-osf*): Only use -Wl,-oldstyle_liblookup
+ if using native linker, with check for native linker if gcc is
+ being used.
+
2004-09-21 Ken Raeburn <raeburn@mit.edu>
* shlib.conf (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Don't use the
diff --git a/src/config/shlib.conf b/src/config/shlib.conf
index d107dddb9..ccff18731 100644
--- a/src/config/shlib.conf
+++ b/src/config/shlib.conf
@@ -45,7 +45,8 @@ alpha*-dec-osf*)
PROFFLAGS=-pg
RPATH_FLAG='-Wl,-rpath -Wl,'
CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(PTHREAD_CFLAGS) $(LDFLAGS)'
- if test "$krb5_cv_prog_gcc" = yes; then
+ if test "$krb5_cv_prog_gcc" = yes \
+ && test "$krb5_cv_gnu_ld" = yes; then
# Really should check for gnu ld vs system ld, too.
CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(PTHREAD_CFLAGS) $(LDFLAGS)'
else