pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler mk/compiler/gcc.mk: Darwin needs _USE_GCC_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f851269f80c
branches:  trunk
changeset: 382710:3f851269f80c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jul 11 11:11:52 2018 +0000

description:
mk/compiler/gcc.mk: Darwin needs _USE_GCC_SHLIB too.

diffstat:

 mk/compiler/gcc.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a06411d96985 -r 3f851269f80c mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Wed Jul 11 09:18:28 2018 +0000
+++ b/mk/compiler/gcc.mk        Wed Jul 11 11:11:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.192 2018/05/24 05:47:21 wiz Exp $
+# $NetBSD: gcc.mk,v 1.193 2018/07/11 11:11:52 jperkin Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -632,7 +632,8 @@
 # USE_GCC_RUNTIME for packages which create shared libraries but do not use
 # libtool to do so.
 #
-.if ${OPSYS} == "SunOS" && (defined(USE_LIBTOOL) || defined(USE_GCC_RUNTIME))
+.if (${OPSYS} == "Darwin" || ${OPSYS} == "SunOS") && \
+    (defined(USE_LIBTOOL) || defined(USE_GCC_RUNTIME))
 _USE_GCC_SHLIB= yes
 .endif
 



Home | Main Index | Thread Index | Old Index