aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-11-21 13:16:08 +0100
committerHarald Welte <laforge@gnumonks.org>2015-11-21 13:16:08 +0100
commit97b6bfa996ed1745d27c5598186c4583f7e90861 (patch)
tree45fd3cacb16a1ac0e4744d8f3dda3118f43f22db /openbsc
parent1b9c815024a1f863d83b70d0bb48c513f8e4cbeb (diff)
Fix compilation with no libc-ares present on the system
This build failure was introduced with the OAP and gtphub changes.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/gprs/Makefile.am3
-rw-r--r--openbsc/tests/Makefile.am5
2 files changed, 5 insertions, 3 deletions
diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am
index 5212c67f2..5e115eb50 100644
--- a/openbsc/src/gprs/Makefile.am
+++ b/openbsc/src/gprs/Makefile.am
@@ -11,9 +11,8 @@ noinst_HEADERS = gprs_sndcp.h
bin_PROGRAMS = osmo-gbproxy
if HAVE_LIBGTP
-bin_PROGRAMS += osmo-gtphub
if HAVE_LIBCARES
-bin_PROGRAMS += osmo-sgsn
+bin_PROGRAMS += osmo-sgsn osmo-gtphub
endif
endif
diff --git a/openbsc/tests/Makefile.am b/openbsc/tests/Makefile.am
index 995660a6f..04b8e345f 100644
--- a/openbsc/tests/Makefile.am
+++ b/openbsc/tests/Makefile.am
@@ -13,7 +13,10 @@ SUBDIRS += smpp
endif
if HAVE_LIBGTP
-SUBDIRS += sgsn oap gtphub
+SUBDIRS += gtphub
+if HAVE_LIBCARES
+SUBDIRS += sgsn oap
+endif
endif