diff options
author | Cy Schubert <cy@FreeBSD.org> | 2003-05-07 21:43:40 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2003-05-07 21:43:40 +0000 |
commit | c5dd5e6d13c4c1fead1ea0d9a5190a76a9d6b13b (patch) | |
tree | 211535af288ef154bf06df895ce931461d2233df /security/krb5-16/files/patch-lib::rpc::configure | |
parent | Plug p5-Mail-Box1 to Makefile [a long time] after the repocopy. (diff) |
Put SONAME entries into shared libraries.
Submitted by: wollman
Notes
Notes:
svn path=/head/; revision=80398
Diffstat (limited to 'security/krb5-16/files/patch-lib::rpc::configure')
-rw-r--r-- | security/krb5-16/files/patch-lib::rpc::configure | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/krb5-16/files/patch-lib::rpc::configure b/security/krb5-16/files/patch-lib::rpc::configure new file mode 100644 index 000000000000..fad09e67cfb5 --- /dev/null +++ b/security/krb5-16/files/patch-lib::rpc::configure @@ -0,0 +1,18 @@ +--- lib/rpc/configure.orig Tue Apr 8 17:12:01 2003 ++++ lib/rpc/configure Wed May 7 14:07:47 2003 +@@ -2524,13 +2524,14 @@ + PICFLAGS=-fpic + if test "x$objformat" = "xelf" ; then + SHLIBVEXT='.so.$(LIBMAJOR)' ++ LDCOMBINE='cc -shared -Wl,-soname,lib$(LIB)$(SHLIBVEXT)' + CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -Wl,-rpath -Wl,$(PROG_RPATH)' + else ++ LDCOMBINE='ld -Bshareable' + SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)' + CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -R$(PROG_RPATH)' + fi + SHLIBEXT=.so +- LDCOMBINE='ld -Bshareable' + SHLIB_EXPFLAGS='-R$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)' + CC_LINK_STATIC='$(CC) $(PROG_LIBPATH)' + RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH;' |