Use cc -bundle to build loadable modules on Rhapsody. Thanks to

Matt Watson <mwatson@apple.com> for the patch.
This commit is contained in:
wtc 1998-05-08 18:52:44 +00:00
Родитель 02bd526c7c
Коммит f8fd4da708
1 изменённых файлов: 8 добавлений и 1 удалений

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

@ -30,7 +30,6 @@ endif
INCLUDES = -I$(DIST)/include
OBJS = $(OBJDIR)/mygetval.$(OBJ_SUFFIX) \
$(OBJDIR)/mysetval.$(OBJ_SUFFIX)
@ -63,6 +62,14 @@ SHARED_LIBRARY = $(OBJDIR)/libmy.$(DLL_SUFFIX)
TARGETS = $(SHARED_LIBRARY)
endif
#
# To create a loadable module on Rhapsody, we must override
# -dynamiclib with -bundle.
#
ifeq ($(OS_ARCH),Rhapsody)
DSO_LDOPTS = -bundle
endif
include $(MOD_DEPTH)/config/rules.mk
ifeq ($(OS_TARGET), WIN16)