blob: 21dfbafbd89fd6f5fd31da5afc36c11265cb8a06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$NetBSD: patch-config_Makefile.openbsd,v 1.2 2019/05/29 17:36:43 adam Exp $
Allow linking with CC.
--- config/Makefile.openbsd.orig 2017-07-31 11:25:39.000000000 +0000
+++ config/Makefile.openbsd
@@ -14,4 +14,4 @@ LIB.SONAME = lib$(NAME).so.$(SO_MAJOR
LIB.DEVLNK = lib$(NAME).so
LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
LIB.STATIC = lib$(NAME).a
-LDFLAGS.SO = -shared -soname $(LIB.SONAME)
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|