From 69962fefc233ba06450b353073a2db4a9fce3ceb Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Thu, 13 Jan 2022 21:55:21 +1300 Subject: Specify CMAKE_INSTALL_RPATH for macOS; use -rpath LDFLAGS for tests (#3009) --- test/postinstall/cpp_app/test_libpath.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 test/postinstall/cpp_app/test_libpath.sh (limited to 'test/postinstall/cpp_app/test_libpath.sh') 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 -- cgit v1.2.3