aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-appl/files/patch-util::pty::configure
blob: 9129f7f78b42f7812d12108e51490520baae0112 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- util/pty/configure.orig Tue Apr  8 17:12:05 2003
+++ util/pty/configure  Wed May  7 14:15:42 2003
@@ -3751,13 +3751,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;'