When using -stdlib=libc++, add the correct dependency to .depend in
bsd.prog.mk. Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp> MFC after: 2 weeks
This commit is contained in:
parent
087d31736a
commit
d515c63db9
@ -126,10 +126,14 @@ _EXTRADEPEND:
|
||||
.else
|
||||
echo ${PROG}: ${LIBC} ${DPADD} >> ${DEPENDFILE}
|
||||
.if defined(PROG_CXX)
|
||||
.if !empty(CXXFLAGS:M-stdlib=libc++)
|
||||
echo ${PROG}: ${LIBCPLUSPLUS} >> ${DEPENDFILE}
|
||||
.else
|
||||
echo ${PROG}: ${LIBSTDCPLUSPLUS} >> ${DEPENDFILE}
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !target(install)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user