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