Ticket #6508: 003-krb5kdc-com-err-fix.patch

File 003-krb5kdc-com-err-fix.patch, 986 bytes (added by W. Michael Petullo <mike@…>, 8 years ago)

Patch against krb5-1.7, referenced by new Makefile

  • src/config/shlib.conf

    diff -u --recursive krb5-1.7-vanilla/src/config/shlib.conf krb5-1.7/src/config/shlib.conf
    old new  
    409409        SHLIBEXT=.so 
    410410        # Linux ld doesn't default to stuffing the SONAME field... 
    411411        # Use objdump -x to examine the fields of the library 
    412         LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined $(LDFLAGS)' 
     412        LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined' 
    413413        #  
    414         LDCOMBINE_TAIL='-Wl,--version-script binutils.versions && $(PERL) -w $(SRCTOP)/util/export-check.pl $(SHLIB_EXPORT_FILE) $@' 
     414        LDCOMBINE_TAIL='-Wl,--version-script binutils.versions $(LDFLAGS) && $(PERL) -w $(SRCTOP)/util/export-check.pl $(SHLIB_EXPORT_FILE) $@' 
    415415        SHLIB_EXPORT_FILE_DEP=binutils.versions 
    416416        # For cases where we do have dependencies on other libraries 
    417417        # built in this tree...