mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-01-05 08:50:09 +01:00
* check/check-conflicts, check/conflicts-test.pc: New test,
testing that conflicts work as they should.
* pkg.c (verify_package): Make the conflicts check not only check
package versions, but also package names. This makes conflicts
functional, something they were not before.
16 lines
265 B
Bash
Executable file
16 lines
265 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# Make sure we're POSIX
|
|
if [ "$PKG_CONFIG_SHELL_IS_POSIX" != "1" ]; then
|
|
PKG_CONFIG_SHELL_IS_POSIX=1 PATH=`getconf PATH` exec sh $0 "$@"
|
|
fi
|
|
|
|
set -e
|
|
|
|
. ${srcdir}/common
|
|
|
|
ARGS="--libs conflicts-test"
|
|
RESULT="-L/public-dep/lib -lpublic-dep"
|
|
|
|
run_test
|
|
|