Do not add static libs to linker command if we are manually extracting the individual object files from the archive. Bug #59021

This commit is contained in:
cls%seawood.org 2000-11-15 03:37:45 +00:00
Родитель 6c8057de84
Коммит 2b110ba071
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -335,9 +335,11 @@ endif
# Make sure to wrap static libs inside linker specific flags to turn on & off # Make sure to wrap static libs inside linker specific flags to turn on & off
# inclusion of all symbols inside the static libs # inclusion of all symbols inside the static libs
# #
ifndef NO_LD_ARCHIVE_FLAGS
ifdef SHARED_LIBRARY_LIBS ifdef SHARED_LIBRARY_LIBS
EXTRA_DSO_LDOPTS := $(MKSHLIB_FORCE_ALL) $(SHARED_LIBRARY_LIBS) $(MKSHLIB_UNFORCE_ALL) $(EXTRA_DSO_LDOPTS) EXTRA_DSO_LDOPTS := $(MKSHLIB_FORCE_ALL) $(SHARED_LIBRARY_LIBS) $(MKSHLIB_UNFORCE_ALL) $(EXTRA_DSO_LDOPTS)
endif endif
endif
# #
# This will strip out symbols that the component shouldnt be # This will strip out symbols that the component shouldnt be