openbsd-ports/databases/postgresql/patches/patch-src_Makefile_shlib
espie 594099de65 Patches to fix dynamic libraries, especially on ppc which understands
only major/minor.

Add DYNLIBDIR where needed.

Some style issues.

From peter@, brad@ and peter_e@gmx.net
2001-04-23 21:58:44 +00:00

18 lines
561 B
Plaintext

$OpenBSD: patch-src_Makefile_shlib,v 1.1 2001/04/23 21:58:44 espie Exp $
--- src/Makefile.shlib.orig Sun Apr 1 15:17:30 2001
+++ src/Makefile.shlib Sun Apr 22 14:50:24 2001
@@ -118,12 +118,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)