summaryrefslogtreecommitdiff
path: root/graphics/flashplayer
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/flashplayer')
-rw-r--r--graphics/flashplayer/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/flashplayer/Makefile b/graphics/flashplayer/Makefile
index 928fbe2a8e3..77dd0b25dfc 100644
--- a/graphics/flashplayer/Makefile
+++ b/graphics/flashplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 16:51:39 martti Exp $
+# $NetBSD: Makefile,v 1.10 2003/09/28 20:05:20 tron Exp $
#
.include "../libflash/Makefile.common"
@@ -11,5 +11,11 @@ USE_BUILDLINK2= yes
BUILD_DIRS= ${WRKSRC}/Player
CPPFLAGS+= -DDEV_DSP=\\\"${DEVOSSSOUND}\\\"
+.if defined(CC_VERSION) && !empty(CC_VERSION:Mgcc-3.*)
+MAKE_ENV+= LIBSTDCPP=-lstdc++
+.else
+MAKE_ENV+= LIBSTDCPP=
+.endif
+
.include "../libflash/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"