594099de65
only major/minor. Add DYNLIBDIR where needed. Some style issues. From peter@, brad@ and peter_e@gmx.net
18 lines
561 B
Plaintext
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)
|