Add test for multiple dependencies on base package #52

Merged
tonytheodore merged 1 commits from multiple-deps into master 2013-08-24 18:16:26 +00:00
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" \