summaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-07-19 18:44:18 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-07-19 19:11:54 +0300
commit6f60f17c7515732e91bd5a4a455d4f532ff8a9ad (patch)
treea4ad12ce8268c639420995b57c662dd801902b46 /run_unittests.py
parent998c78fb0a404f34512414d93b08cf45166be357 (diff)
downloadmeson-norpathforstatic.tar.gz
Do not add rpaths for static libs. Closes #5191.norpathforstatic
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 820b705b5..aba77d50b 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -7030,6 +7030,13 @@ c = ['{0}']
windows_proof_rmtree(os.path.join(testdir, 'subprojects', 'foo'))
os.unlink(wrap_filename)
+ def test_no_rpath_for_static(self):
+ testdir = os.path.join(self.common_test_dir, '5 linkstatic')
+ self.init(testdir)
+ self.build()
+ build_rpath = get_rpath(os.path.join(self.builddir, 'prog'))
+ self.assertIsNone(build_rpath)
+
class BaseLinuxCrossTests(BasePlatformTests):
# Don't pass --libdir when cross-compiling. We have tests that