On Darwin, use g++ to link instead of gcc since some C++ code is compiled.
This commit is contained in:
parent
98b1b0a4f7
commit
cfa8c1909a
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.28 2006/03/09 21:04:42 jlam Exp $
|
||||
# $NetBSD: Makefile.common,v 1.29 2006/04/11 22:11:31 minskim Exp $
|
||||
|
||||
DISTNAME= SDL-1.2.9
|
||||
CATEGORIES= devel games
|
||||
|
@ -50,6 +50,12 @@ COCOA_DIRS+= /System /Library /Developer
|
|||
BUILDLINK_PASSTHRU_DIRS+= ${dir}
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
SUBST_CLASSES+= links
|
||||
SUBST_MESSAGE.links= Fixing linking command.
|
||||
SUBST_STAGE.links= pre-configure
|
||||
SUBST_FILES.links= src/Makefile.in
|
||||
SUBST_SED.links= -e 's,tag=CC --mode=link,tag=CXX --mode=link,g'
|
||||
.endif
|
||||
|
||||
.include "../../mk/oss.buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue