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
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