d068980a1e342a045fe6245b395a99a195c7241c
[openwrt/svn-archive/archive.git] / net / krb5 / patches / 003-krb5kdc-com-err-fix.patch
1 diff -u --recursive krb5-1.7-vanilla/src/config/shlib.conf krb5-1.7/src/config/shlib.conf
2 --- krb5-1.7-vanilla/src/config/shlib.conf 2008-12-08 17:33:07.000000000 -0500
3 +++ krb5-1.7/src/config/shlib.conf 2010-01-15 22:04:16.345151448 -0500
4 @@ -409,9 +409,9 @@
5 SHLIBEXT=.so
6 # Linux ld doesn't default to stuffing the SONAME field...
7 # Use objdump -x to examine the fields of the library
8 - LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined $(LDFLAGS)'
9 + LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined'
10 #
11 - LDCOMBINE_TAIL='-Wl,--version-script binutils.versions && $(PERL) -w $(SRCTOP)/util/export-check.pl $(SHLIB_EXPORT_FILE) $@'
12 + LDCOMBINE_TAIL='-Wl,--version-script binutils.versions $(LDFLAGS) && $(PERL) -w $(SRCTOP)/util/export-check.pl $(SHLIB_EXPORT_FILE) $@'
13 SHLIB_EXPORT_FILE_DEP=binutils.versions
14 # For cases where we do have dependencies on other libraries
15 # built in this tree...