summaryrefslogtreecommitdiff
path: root/debian/tests/pkg-config-test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-06-17 18:29:55 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-06-17 18:29:55 +0200
commit503a437739d91953f21ec4b8a02ab3d92ab95391 (patch)
tree6791e3f6d088afe32177ec3d2ffa10c7e350d95d /debian/tests/pkg-config-test
parent97553e635d2265ec4aad96b00b1fd72d98437f15 (diff)
Fix pkg-config-test autopkgtest
Diffstat (limited to 'debian/tests/pkg-config-test')
-rw-r--r--debian/tests/pkg-config-test3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/tests/pkg-config-test b/debian/tests/pkg-config-test
index cb8d1ffb0..1e4ec141e 100644
--- a/debian/tests/pkg-config-test
+++ b/debian/tests/pkg-config-test
@@ -7,6 +7,7 @@ trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
cat <<EOF > pkgconfigtest.c
#include <apt-pkg/init.h>
+#include <stdio.h>
int main()
{
@@ -15,7 +16,7 @@ int main()
}
EOF
-g++ -o pkgconfigtest pkgconfigtest.c `pkg-config --cflags --libs apt-pkg apt-inst`
+g++ -o pkgconfigtest pkgconfigtest.c `pkg-config --cflags --libs apt-pkg`
echo "build: OK"
[ -x pkgconfigtest ]
./pkgconfigtest