aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5/files/patch-config::shlib.conf
blob: 805e56e91e7fd130e9fb120d521ca781c89162a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- config/shlib.conf.orig  2013-12-10 14:49:15.000000000 -0800
+++ config/shlib.conf   2013-12-11 12:58:51.983110392 -0800
@@ -315,13 +315,13 @@
            ;;
    esac
    SHLIBVEXT='.so.$(LIBMAJOR)'
-   RPATH_FLAG='-Wl,--enable-new-dtags -Wl,-rpath -Wl,'
+   LDCOMBINE="libtool --mode=link cc -Xcompiler -shared"
+   RPATH_FLAG='-Wl,-rpath -Wl,'
    PROG_RPATH_FLAGS='$(RPATH_FLAG)$(PROG_RPATH)'
    CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CFLAGS) $(LDFLAGS)'
    CXX_LINK_SHARED='$(CXX) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CXXFLAGS) $(LDFLAGS)'
    SHLIBEXT=.so
-   LDCOMBINE='ld -Bshareable'
-   SHLIB_RPATH_FLAGS='--enable-new-dtags -rpath $(SHLIB_RDIRS)'
+   SHLIB_RPATH_FLAGS='-rpath $(SHLIB_RDIRS)'
    SHLIB_EXPFLAGS='$(SHLIB_RPATH_FLAGS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
    CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
    CXX_LINK_STATIC='$(CXX) $(PROG_LIBPATH) $(CXXFLAGS) $(LDFLAGS)'