d/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via dh_auto_configure override
authorVagrant Cascadian <vagrant@reproducible-builds.org>
Tue, 18 Jan 2022 00:52:33 +0000 (00:52 +0000)
committerRafael Laboissière <rafael@debian.org>
Mon, 30 May 2022 10:04:19 +0000 (07:04 -0300)
This avoids embedding the full path in RPATH, which triggers BuildId
differences.

https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html

Closes: #1003915
debian/rules

index c4570b98788ba695ba06a668c4ce297357e8a5b6..66929a7db87e00ae0e9159744faa1dc64bfa7f43 100755 (executable)
@@ -43,6 +43,7 @@ override_dh_auto_configure:
                 -Denable-qt5asqt=ON            \
                 -Denable-json-sample=ON                \
                 -Denable-json-sample-we=ON     \
+                -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
                 -Denable-python=ON
 
 override_dh_python3: