Use cc -bundle to build loadable modules on Rhapsody. Thanks to
Matt Watson <mwatson@apple.com> for the patch.
This commit is contained in:
Родитель
02bd526c7c
Коммит
f8fd4da708
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче