Fixing beos bustage caused by bug 193442

Bug #195563 r=bewildered
This commit is contained in:
seawood%netscape.com 2003-03-02 00:56:04 +00:00
parent f0e4366f87
commit 41b32b2257

View File

@ -528,7 +528,11 @@ endif
ifdef IS_COMPONENT
DEPENDENT_LIBS = $(patsubst -l%,$(LIB_PREFIX)%$(DLL_SUFFIX),$(filter -l%, $(EXTRA_DSO_LDOPTS)))
ifneq (,$(strip $(DEPENDENT_LIBS)))
DEFINES += -DDEPENDENT_LIBS="$(foreach f,$(DEPENDENT_LIBS),\"${f}\",)"
_BEFORE := , \"
_AFTER := ,\"
_DEP_DEFINES = -DDEPENDENT_LIBS="$(foreach f,$(DEPENDENT_LIBS),\"${f}\",)"
_DEP_DEFINES := $(subst $(_BEFORE),$(_AFTER),$(_DEP_DEFINES))
DEFINES += $(_DEP_DEFINES)
endif
endif