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
parent 25e974e0b3
commit 00c9936e63

View File

@ -425,7 +425,7 @@ MOZ_META_COMPONENTS_crypto_comps = pipboot pippki pipnss
# Build using PIC by default
# 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))
_ENABLE_PIC=1
endif