kopia lustrzana https://github.com/Hamlib/Hamlib
Add library paths for tests.
Richard Sahw, KF5OIM, reported a failure in the C++ test when attempting to build an RPM package in a clean environment. This patch amends the LD_LIBRARY_PATH in the generated shell scripts in the c++ and tests directories.libusb-1-0
rodzic
ffe3126a85
commit
81775bc03d
|
@ -16,7 +16,7 @@ TESTS = $(check_SCRIPTS)
|
|||
|
||||
|
||||
testcpp.sh:
|
||||
echo 'LD_LIBRARY_PATH=$(top_builddir)/dummy/.libs ./testcpp' > testcpp.sh
|
||||
echo 'LD_LIBRARY_PATH=$(top_builddir)/c++/.libs:$(top_builddir)/dummy/.libs ./testcpp' > testcpp.sh
|
||||
chmod +x ./testcpp.sh
|
||||
|
||||
CLEANFILES = testcpp.sh
|
||||
|
|
|
@ -68,7 +68,7 @@ TESTS = $(check_SCRIPTS)
|
|||
|
||||
|
||||
testrig.sh:
|
||||
echo 'LD_LIBRARY_PATH=$(top_builddir)/dummy/.libs ./testrig 1' > testrig.sh
|
||||
echo 'LD_LIBRARY_PATH=$(top_builddir)/src/.libs:$(top_builddir)/dummy/.libs ./testrig 1' > testrig.sh
|
||||
chmod +x ./testrig.sh
|
||||
|
||||
testfreq.sh:
|
||||
|
|
Ładowanie…
Reference in New Issue