summaryrefslogtreecommitdiff
path: root/graphics/glew/patches/patch-config_Makefile.openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/glew/patches/patch-config_Makefile.openbsd')
-rw-r--r--graphics/glew/patches/patch-config_Makefile.openbsd12
1 files changed, 3 insertions, 9 deletions
diff --git a/graphics/glew/patches/patch-config_Makefile.openbsd b/graphics/glew/patches/patch-config_Makefile.openbsd
index 4bcb7425348..21dfbafbd89 100644
--- a/graphics/glew/patches/patch-config_Makefile.openbsd
+++ b/graphics/glew/patches/patch-config_Makefile.openbsd
@@ -1,18 +1,12 @@
-$NetBSD: patch-config_Makefile.openbsd,v 1.1 2016/07/11 16:18:29 jperkin Exp $
+$NetBSD: patch-config_Makefile.openbsd,v 1.2 2019/05/29 17:36:43 adam Exp $
Allow linking with CC.
---- config/Makefile.openbsd.orig 2015-08-10 11:47:22.000000000 +0000
+--- config/Makefile.openbsd.orig 2017-07-31 11:25:39.000000000 +0000
+++ config/Makefile.openbsd
-@@ -14,9 +14,9 @@ LIB.SONAME = lib$(NAME).so.$(SO_MAJOR
+@@ -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)
- LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
- LIB.DEVLNK.MX = lib$(NAME)mx.so
- LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
- LIB.STATIC.MX = lib$(NAME)mx.a
--LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX)
-+LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)