forked from ariadne/pkgconf
Test simple metapackage
parent
dd6a8e3fc7
commit
eb087a6c84
|
@ -29,6 +29,7 @@ tests_init \
|
||||||
libs_circular_directpc \
|
libs_circular_directpc \
|
||||||
libs_static \
|
libs_static \
|
||||||
libs_static_ordering \
|
libs_static_ordering \
|
||||||
|
libs_metapackage \
|
||||||
license_isc \
|
license_isc \
|
||||||
license_noassertion \
|
license_noassertion \
|
||||||
modversion_noflatten \
|
modversion_noflatten \
|
||||||
|
@ -250,6 +251,14 @@ libs_static_ordering_body()
|
||||||
pkgconf --libs foo bar
|
pkgconf --libs foo bar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libs_metapackage_body()
|
||||||
|
{
|
||||||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
atf_check \
|
||||||
|
-o inline:"-L/test/lib -lbar -lfoo\n" \
|
||||||
|
pkgconf --static --libs metapackage-3
|
||||||
|
}
|
||||||
|
|
||||||
pkg_config_path_body()
|
pkg_config_path_body()
|
||||||
{
|
{
|
||||||
export PKG_CONFIG_PATH="${selfdir}/lib1${PATH_SEP}${selfdir}/lib2"
|
export PKG_CONFIG_PATH="${selfdir}/lib1${PATH_SEP}${selfdir}/lib2"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Name: metapackage-3
|
||||||
|
Version: 0.1
|
||||||
|
Description: metapackage for testing purposes
|
||||||
|
Requires.private: bar
|
Loading…
Reference in New Issue