aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/tests/ntpq
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/tests/ntpq')
-rw-r--r--contrib/ntp/tests/ntpq/Makefile.am1
-rw-r--r--contrib/ntp/tests/ntpq/Makefile.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/ntp/tests/ntpq/Makefile.am b/contrib/ntp/tests/ntpq/Makefile.am
index a45a9aec05dd..136b8f348f0a 100644
--- a/contrib/ntp/tests/ntpq/Makefile.am
+++ b/contrib/ntp/tests/ntpq/Makefile.am
@@ -34,6 +34,7 @@ AM_CPPFLAGS += -I$(top_srcdir)/ntpq
AM_CPPFLAGS += $(CPPFLAGS_NTP)
AM_CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H
AM_CPPFLAGS += -I$(top_srcdir)/sntp/unity
+AM_CPPFLAGS += $(LIBOPTS_CFLAGS)
AM_LDFLAGS = $(LDFLAGS_NTP)
diff --git a/contrib/ntp/tests/ntpq/Makefile.in b/contrib/ntp/tests/ntpq/Makefile.in
index f31c0bcaf2ad..47e15d68812b 100644
--- a/contrib/ntp/tests/ntpq/Makefile.in
+++ b/contrib/ntp/tests/ntpq/Makefile.in
@@ -720,7 +720,8 @@ unity_tests_LDADD = \
AM_CFLAGS = $(CFLAGS_NTP)
AM_CPPFLAGS = $(NTP_INCS) -I$(top_srcdir)/ntpq $(CPPFLAGS_NTP) \
- -DUNITY_INCLUDE_CONFIG_H -I$(top_srcdir)/sntp/unity
+ -DUNITY_INCLUDE_CONFIG_H -I$(top_srcdir)/sntp/unity \
+ $(LIBOPTS_CFLAGS)
AM_LDFLAGS = $(LDFLAGS_NTP)
noinst_HEADERS = \
$(NULL)