summaryrefslogtreecommitdiff
path: root/security/mit-krb5/patches/patch-ag
blob: 4a91bcc1cd820ff24af9effc6c541d63393dc3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ag,v 1.4 2005/09/22 19:45:42 jlam Exp $

--- config/shlib.conf.orig	2005-04-07 17:38:51.000000000 -0400
+++ config/shlib.conf
@@ -8,6 +8,7 @@ SHLIBVEXT=.so.v-nobuild
 SHLIBSEXT=.so.s-nobuild
 # Most systems support profiled libraries.
 PFLIBEXT=_p.a
+LALIBEXT=.la
 # Most systems install shared libs as mode 644, etc. while hpux wants 755
 INSTALL_SHLIB='$(INSTALL_DATA)'
 #
@@ -17,6 +18,7 @@ use_linker_fini_option=no
 STOBJEXT=.o
 SHOBJEXT=.so
 PFOBJEXT=.po
+LAOBJEXT=.lo
 # Default for systems w/o shared libraries
 CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
 #
@@ -395,3 +397,8 @@ if test "${MAKE_SHLIB_COMMAND}" = "x" ; 
     MAKE_SHLIB_COMMAND="${LDCOMBINE} -o \$@ \$\$objlist \$(SHLIB_EXPFLAGS) ${LDCOMBINE_TAIL}"
   fi
 fi
+
+# Settings for building with libtool.
+CC_LINK_LIBTOOL='$(LIBTOOL) --mode=link '"$CC_LINK_SHARED"
+LALIB_EXPFLAGS='$(SHLIB_EXPFLAGS)'
+LIBTOOL_TAIL='-rpath $(KRB5_LIBDIR) -version-info $(LIBMAJOR):$(LIBMINOR)'