Don't enable shared libs on OpenBSD (yet)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@7845 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2000-10-17 19:57:05 +00:00
parent ac7941d3a6
commit b697bf24bb
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,6 @@
2000-10-17 Adam Fedor <fedor@gnu.org>
* target.make (OpenBSD): Add -fpic to SHARED_CFLAGS. Enable
shared libraries.
* target.make (OpenBSD): Add -fpic to SHARED_CFLAGS.
Fri Oct 13 11:26:49 2000 Nicola Pero <n.pero@mi.flashnet.it>

View file

@ -542,7 +542,11 @@ endif
# OpenBSD 2.x (though set for 2.4)
#
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
HAVE_SHARED_LIBS = yes
# This is disabled temporarily, because I don't know exactly how
# to link shared libs. Everything seems to link correctly now but
# constructor functions in the shared lib failed to get called
# when the lib is loaded in. I don't know why. ASF.
HAVE_SHARED_LIBS = no
SHARED_LD = ld
SHARED_LIB_LINK_CMD = \
$(SHARED_LD) $(SHARED_LD_PREFLAGS) -x -Bshareable -Bforcearchive \