aboutsummaryrefslogtreecommitdiff
path: root/test/postinstall/cpp_app/test_libpath.sh
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-01-13 21:55:21 +1300
committerGitHub <noreply@github.com>2022-01-13 21:55:21 +1300
commit69962fefc233ba06450b353073a2db4a9fce3ceb (patch)
tree1c2fdc07d6172fc9f9d33c3d6615740bb6ad92c4 /test/postinstall/cpp_app/test_libpath.sh
parent0e26f598ef4b4930dcf3344cf6a430c984e62385 (diff)
downloadPROJ-69962fefc233ba06450b353073a2db4a9fce3ceb.tar.gz
PROJ-69962fefc233ba06450b353073a2db4a9fce3ceb.zip
Specify CMAKE_INSTALL_RPATH for macOS; use -rpath LDFLAGS for tests (#3009)
Diffstat (limited to 'test/postinstall/cpp_app/test_libpath.sh')
-rwxr-xr-xtest/postinstall/cpp_app/test_libpath.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/postinstall/cpp_app/test_libpath.sh b/test/postinstall/cpp_app/test_libpath.sh
new file mode 100755
index 00000000..08222e66
--- /dev/null
+++ b/test/postinstall/cpp_app/test_libpath.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+. ../common.sh
+
+EXPECTED_LIBPATH="$(pkg-config proj --variable=libdir)"
+
+test_libpath cpp_app "${EXPECTED_LIBPATH}" libproj