diff options
author | wtc <devnull@localhost> | 1998-05-08 18:52:44 +0000 |
---|---|---|
committer | wtc <devnull@localhost> | 1998-05-08 18:52:44 +0000 |
commit | 1ceaf189bdb47c6df7f16cc9767fa5997d45857f (patch) | |
tree | 69f495c3d0e3b778d2c5d13c03c5753a11b34c94 | |
parent | 77883b05e6b497298441c839fd54d4ea68144b3f (diff) | |
download | nspr-hg-1ceaf189bdb47c6df7f16cc9767fa5997d45857f.tar.gz |
Use cc -bundle to build loadable modules on Rhapsody. Thanks to
Matt Watson <mwatson@apple.com> for the patch.
-rw-r--r-- | pr/tests/dll/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pr/tests/dll/Makefile b/pr/tests/dll/Makefile index cdceade3..7afc7300 100644 --- a/pr/tests/dll/Makefile +++ b/pr/tests/dll/Makefile @@ -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) |