Bustage fix - instead of only allowing PIC if LIBRARY_NAME is defined, just skip it if PROGRAM, SIMPLE_PROGRAMS, HOST_PROGRAM, or HOST_SIMPLE_PROGRAMS is defined.

This commit is contained in:
bryner%brianryner.com 2004-02-26 17:16:57 +00:00
Родитель 8f3f486c0d
Коммит 24f3fdd1c2
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -425,7 +425,7 @@ MOZ_META_COMPONENTS_crypto_comps = pipboot pippki pipnss
# Build using PIC by default # Build using PIC by default
# Do not use PIC if not building a shared lib (see exceptions below) # Do not use PIC if not building a shared lib (see exceptions below)
# #
ifdef LIBRARY_NAME ifeq (,$(PROGRAM)$(SIMPLE_PROGRAMS)$(HOST_PROGRAM)$(HOST_SIMPLE_PROGRAMS))
ifneq (,$(BUILD_SHARED_LIBS)$(FORCE_SHARED_LIB)$(FORCE_USE_PIC)) ifneq (,$(BUILD_SHARED_LIBS)$(FORCE_SHARED_LIB)$(FORCE_USE_PIC))
_ENABLE_PIC=1 _ENABLE_PIC=1
endif endif