From b697bf24bbcf3532b8be38e166e3223b3870ee77 Mon Sep 17 00:00:00 2001 From: Adam Fedor Date: Tue, 17 Oct 2000 19:57:05 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +-- target.make | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1bc31836..d11c5133 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,6 @@ 2000-10-17 Adam Fedor - * 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 diff --git a/target.make b/target.make index 72e96c19..c36c2917 100644 --- a/target.make +++ b/target.make @@ -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 \