components/libpki/Makefile
changeset 6257 cdf29f584705
parent 6127 54565d218793
child 6871 e5ee1bcc6bdb
--- a/components/libpki/Makefile	Fri Jun 17 13:33:01 2016 -0700
+++ b/components/libpki/Makefile	Mon Jun 20 11:20:50 2016 -0700
@@ -41,6 +41,13 @@
 
 PKG_PROTO_DIRS += $(COMPONENT_SRC)/docs
 
+# Need to include the path below because not all headers are available in
+# $(BUILD_DIR)/src/libpki.
+CPPFLAGS += -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/src
+
+# configure.in and Makefile.am patches need configure script recreation.
+COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
+
 # This is necessary because 'gmake install' tries to install some files under
 # /usr/bin without it.
 CONFIGURE_ENV +=	DESTDIR="$(PROTO_DIR)"