blob: cf588c50e5ea39dfac5785cf813ea813837885bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: rpath-merge.mk,v 1.2 2005/06/09 17:01:11 jlam Exp $
.PHONY: rpath-merge
do-regress: rpath-merge
rpath-merge:
@test="${COMPILER_RPATH_FLAG:S/,$//} -Wl,${LOCALBASE}/lib:${LOCALBASE}/lib/foo"; \
case "${_USE_RPATH}" in \
[yY][eE][sS]) \
expected="${COMPILER_RPATH_FLAG}${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/foo"; \
;; \
*) \
expected=""; \
;; \
esac; \
${TEST_RESULT}
|