$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)
