Merge pull request #52 from tonytheodore/multiple-deps

Add test for multiple dependencies on base package
pull/53/merge
William Pitcock 2013-08-24 11:16:26 -07:00
commit 99c41040f6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: private-libs-duplication
Version: 1.0
Requires: bar
Requires: baz bar
Libs: -lprivate
Libs.private: -lfoo

View File

@ -117,7 +117,7 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --libs argv-parse-2" \
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --cflags baz" \
'-fPIC' '-I/usr/include/foo' '-DFOO_STATIC'
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --libs-only-l private-libs-duplication" \
'-lprivate -lbar -lfoo'
'-lprivate -lbaz -lzee -lbar -lfoo'
# 4) tests for parser bugs
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs dos-lineendings" \