openbsd-ports/databases/postgresql/patches/patch-src_Makefile_shlib
naddy 8eb8b90598 Update to 7.3.
From: Peter Galbavy <peter.galbavy@knowtion.net>
2002-12-17 16:38:53 +00:00

18 lines
561 B
Plaintext

$OpenBSD: patch-src_Makefile_shlib,v 1.2 2002/12/17 16:38:54 naddy Exp $
--- src/Makefile.shlib.orig Thu Sep 5 18:28:46 2002
+++ src/Makefile.shlib Sun Oct 6 16:39:21 2002
@@ -87,12 +87,7 @@ endif
ifeq ($(PORTNAME), openbsd)
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
- ifdef ELF_SYSTEM
- LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname)
- SHLIB_LINK += -lc
- else
- LINK.shared = $(LD) -x -Bshareable -Bforcearchive
- endif
+ LINK.shared = $(COMPILER) -shared
endif
ifeq ($(PORTNAME), bsdi)