handle the case where we don't have the files built yet
This commit is contained in:
parent
9ed7390988
commit
81c11d5f0f
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2017/01/06 17:22:51 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2017/01/06 20:27:19 christos Exp $
|
||||
|
||||
NOMAN= # defined
|
||||
|
||||
@ -16,7 +16,9 @@ IBERTYDIR= ${TOOLCHAINOBJ}/build/libiberty
|
||||
|
||||
LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
|
||||
.if exists(${LDMAKEFILE})
|
||||
HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
|
||||
HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
|
||||
.else
|
||||
HAVE_LIBDL= no
|
||||
.endif
|
||||
|
||||
.if ${HAVE_LIBDL} != "no"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.12 2017/01/06 17:22:51 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2017/01/06 20:27:19 christos Exp $
|
||||
|
||||
NOMAN= # defined
|
||||
|
||||
@ -17,7 +17,9 @@ IBERTYDIR= ${TOOLCHAINOBJ}/build/libiberty
|
||||
|
||||
LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
|
||||
.if exists(${LDMAKEFILE})
|
||||
HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
|
||||
HAVE_LIBDL!= grep -- -ldl ${LDMAKEFILE} || echo no
|
||||
.else
|
||||
HAVE_LIBDL= no
|
||||
.endif
|
||||
|
||||
.if ${HAVE_LIBDL} != "no"
|
||||
|
Loading…
Reference in New Issue
Block a user