summaryrefslogtreecommitdiff
path: root/devel/meson/files/patch-run__unittests.py
blob: 0b30547946396f9556a136b151452853add2b170 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://github.com/mesonbuild/meson/pull/4324

--- run_unittests.py.orig	2019-10-06 17:01:35 UTC
+++ run_unittests.py
@@ -5680,7 +5703,7 @@ c = ['{0}']
         # Test that installed libraries works
         self.new_builddir()
         self.prefix = oldprefix
-        meson_args = ['-Dc_link_args=-L{}'.format(libdir),
+        meson_args = ['-Dc_link_args=-L{} -Wl,-rpath,{}'.format(libdir, libdir),
                       '--fatal-meson-warnings']
         testdir = os.path.join(self.unit_test_dir, '69 static link')
         env = {'PKG_CONFIG_LIBDIR': os.path.join(libdir, 'pkgconfig')}