summaryrefslogtreecommitdiff
path: root/regress/buildlink-transform/tests/rpath-split.mk
diff options
context:
space:
mode:
Diffstat (limited to 'regress/buildlink-transform/tests/rpath-split.mk')
-rw-r--r--regress/buildlink-transform/tests/rpath-split.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/buildlink-transform/tests/rpath-split.mk b/regress/buildlink-transform/tests/rpath-split.mk
new file mode 100644
index 00000000000..bfef7736019
--- /dev/null
+++ b/regress/buildlink-transform/tests/rpath-split.mk
@@ -0,0 +1,15 @@
+# $NetBSD: rpath-split.mk,v 1.1 2005/06/08 05:49:21 jlam Exp $
+
+.PHONY: rpath-split
+do-regress: rpath-split
+rpath-split:
+ @test="${COMPILER_RPATH_FLAG}${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}