opkg: fix distcheck issues
[oweals/opkg-lede.git] / tests / Makefile.am
index a11af3c98ed9ff41acbcb8cf839f7dfc1d4fe375..0d8c5ce0441200e9f344cc7d5144696770d1c931 100644 (file)
@@ -1,3 +1,4 @@
+AM_CFLAGS = $(ALL_CFLAGS) -I${top_srcdir}/libopkg
 
 #noinst_PROGRAMS = opkg_hash_test opkg_extract_test
 noinst_PROGRAMS = libopkg_test
@@ -12,6 +13,5 @@ noinst_PROGRAMS = libopkg_test
 
 libopkg_test_LDADD = $(top_builddir)/libopkg/libopkg.la
 libopkg_test_SOURCE = libopkg_test.c
-libopkg_test_CFLAGS = $(ALL_CFLAGS)