tests: regress: fix --keep-system-libs test, seems to have been broken for some years

pull/109/head
William Pitcock 2017-01-18 20:33:18 -06:00
parent 4f94090fe4
commit 6c2bc94cc3
1 changed files with 5 additions and 1 deletions

View File

@ -74,7 +74,11 @@ variable_body()
keep_system_libs_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
export PKG_CONFIG_PATH="${selfdir}/lib1" LIBRARY_PATH="/test/local/lib"
atf_check \
-o inline:" \n" \
pkgconf --libs-only-L cflags-libs-only
atf_check \
-o inline:"-L/test/local/lib \n" \
pkgconf --libs-only-L --keep-system-libs cflags-libs-only