summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/tests/oap/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/tests/oap/Makefile.am b/openbsc/tests/oap/Makefile.am
index e1609029d..3a76b11ad 100644
--- a/openbsc/tests/oap/Makefile.am
+++ b/openbsc/tests/oap/Makefile.am
@@ -3,7 +3,11 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS)
EXTRA_DIST = oap_test.ok
+if HAVE_LIBGTP
+if HAVE_LIBCARES
noinst_PROGRAMS = oap_test
+endif
+endif
oap_test_SOURCES = oap_test.c