diff options
author | Ken Raeburn <raeburn@mit.edu> | 2007-03-15 01:11:40 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2007-03-15 01:11:40 +0000 |
commit | 8a7f107df48ec9274a280c1d9de587b2002b134d (patch) | |
tree | 8be74e46c7f48ee45ce5483006bb99d580063c85 /src/config | |
parent | e8fd9e0be3874712caa00a2539ef42f798460ce1 (diff) | |
download | krb5-8a7f107df48ec9274a280c1d9de587b2002b134d.zip krb5-8a7f107df48ec9274a280c1d9de587b2002b134d.tar.gz krb5-8a7f107df48ec9274a280c1d9de587b2002b134d.tar.bz2 |
On Linux, add linker flags -Bsymbolic (makes for smaller libraries, at
the cost of being able to override the symbol names we export) and
--no-undefined (errors out on shared library generation with undefined
symbols).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19229 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/shlib.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf index b26566a..1404d6f 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -369,7 +369,7 @@ mips-*-netbsd*) SHLIBEXT=.so # Linux ld doesn't default to stuffing the SONAME field... # Use objdump -x to examine the fields of the library - LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT) $(LDFLAGS)' + LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),-Bsymbolic,--no-undefined $(LDFLAGS)' # LDCOMBINE_TAIL='-Wl,--version-script binutils.versions && $(PERL) -w $(SRCTOP)/util/export-check.pl $(SHLIB_EXPORT_FILE) $@' SHLIB_EXPORT_FILE_DEP=binutils.versions |