diff --git a/configure/os/CONFIG.Common.vxWorksCommon b/configure/os/CONFIG.Common.vxWorksCommon index 41cd8e658..42b2ea3b3 100644 --- a/configure/os/CONFIG.Common.vxWorksCommon +++ b/configure/os/CONFIG.Common.vxWorksCommon @@ -50,7 +50,8 @@ NMS = $(PRODNAME:%$(EXE)=%.nm) OBJLIB += $(OBJLIB_$(OS_CLASS)) OBJLIB_SUFFIX = Library.o OBJLIBNAME = $(addsuffix $(OBJLIB_SUFFIX),$(basename $(OBJLIB))) -OBJLIB_LD_OBJS = $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS))) +OBJLIB_LD_OBJS = $(LDOBJS) $(TARGET_OBJS) +OBJLIB_LD_OBJS += $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS))) PRODTARGETS += $(OBJLIBNAME) INSTALL_PROD += $(OBJLIBNAME:%=$(INSTALL_BIN)/%) OBJLIB_MUNCHNAME += $(OBJLIBNAME:%$(OBJ)=%$(MUNCH_SUFFIX))