2005-11-25 20:40:48 +01:00
|
|
|
--- config/shlib.conf.orig Thu Apr 7 14:38:55 2005
|
|
|
|
+++ config/shlib.conf Wed Nov 23 16:32:40 2005
|
|
|
|
@@ -238,17 +238,21 @@
|
|
|
|
else
|
|
|
|
objformat="aout"
|
|
|
|
fi
|
|
|
|
- PICFLAGS=-fpic
|
|
|
|
+ case $krb5_cv_host in
|
|
|
|
+ sparc64-*) PICFLAGS=-fPIC;;
|
|
|
|
+ *) PICFLAGS=-fpic;;
|
|
|
|
+ esac
|
2003-05-07 23:43:40 +02:00
|
|
|
if test "x$objformat" = "xelf" ; then
|
|
|
|
SHLIBVEXT='.so.$(LIBMAJOR)'
|
2006-02-23 11:40:44 +01:00
|
|
|
+ LDCOMBINE="libtool --mode=link cc -shared"
|
2003-08-08 03:20:18 +02:00
|
|
|
RPATH_FLAG='-Wl,-rpath -Wl,'
|
2003-05-07 23:43:40 +02:00
|
|
|
else
|
|
|
|
+ LDCOMBINE='ld -Bshareable'
|
2003-08-08 03:20:18 +02:00
|
|
|
RPATH_FLAG=-R
|
2003-05-07 23:43:40 +02:00
|
|
|
SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
|
|
|
|
fi
|
2003-08-08 03:20:18 +02:00
|
|
|
CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)'
|
2003-05-07 23:43:40 +02:00
|
|
|
SHLIBEXT=.so
|
|
|
|
- LDCOMBINE='ld -Bshareable'
|
|
|
|
SHLIB_EXPFLAGS='-R$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
|
2003-08-08 03:20:18 +02:00
|
|
|
CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
|
2003-05-07 23:43:40 +02:00
|
|
|
RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH;'
|