aboutsummaryrefslogtreecommitdiff
path: root/examples/pbuilder-test/002_libfile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pbuilder-test/002_libfile')
-rw-r--r--examples/pbuilder-test/002_libfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/pbuilder-test/002_libfile b/examples/pbuilder-test/002_libfile
new file mode 100644
index 0000000..3973724
--- /dev/null
+++ b/examples/pbuilder-test/002_libfile
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# make sure test file compiles and links against the library, and
+# runs. the source file ends with '.c' which is excluded by
+# run-parts, because it contains '.'
+
+gcc debian/pbuilder-test/002_sample.c -o /tmp/002_sample.out $(libecasoundc-config --libs --cflags
+)
+/tmp/002_sample.out