[debian] rules: Work around $(shell pwd) pointing to the base directory, not the build directory.

Add both $(shell pwd)/build/lib and $(shell pwd)/lib .

Not sure how this worked for v2.2...
This commit is contained in:
David Korth 2023-07-31 19:33:30 -04:00
parent c3d02a599f
commit a071a985b2
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
rom-properties (2.2.1-1ppa1~xenial2) xenial; urgency=medium
* Fix LD_LIBRARY_PATH due to $(shell pwd) pointing to the base directory,
not the build directory.
-- David Korth <gerbilsoft@gerbilsoft.com> Mon, 31 Jul 2023 19:33:25 -0400
rom-properties (2.2.1-1ppa1~xenial1) xenial; urgency=medium
* 2.2.1 release.

2
debian/rules vendored
View File

@ -38,5 +38,5 @@ override_dh_auto_configure:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd build && CTEST_OUTPUT_ON_FAILURE=1 LD_LIBRARY_PATH=$(shell pwd)/lib ctest -V
cd build && CTEST_OUTPUT_ON_FAILURE=1 LD_LIBRARY_PATH=$(shell pwd)/build/lib:$(shell pwd)/lib ctest -V
endif