X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8c6a40b4f8cd57c96300c8b616b35f68704c1743..eb551338ee7e9d1d19e821f9ba045c303c43e964:/package/postgresql/Makefile?ds=sidebyside

diff --git a/package/postgresql/Makefile b/package/postgresql/Makefile
index 1f37bb752..d83f1afb8 100644
--- a/package/postgresql/Makefile
+++ b/package/postgresql/Makefile
@@ -97,6 +97,7 @@ $(STAGING_DIR)/usr/lib/libpq.so: $(PKG_BUILD_DIR)/.built
 	mkdir -p $(STAGING_DIR)/usr/include
 	cp -fpR $(PKG_INSTALL_DIR)/usr/include/libpq $(STAGING_DIR)/usr/include/
 	cp -fpR $(PKG_INSTALL_DIR)/usr/include/libpq-fe.h $(STAGING_DIR)/usr/include/
+	cp -fpR $(PKG_INSTALL_DIR)/usr/include/pg_config.h $(STAGING_DIR)/usr/include/
 	cp -fpR $(PKG_INSTALL_DIR)/usr/include/postgres_ext.h $(STAGING_DIR)/usr/include/
 	cp -fpR $(PKG_INSTALL_DIR)/usr/include/postgresql $(STAGING_DIR)/usr/include/
 	mkdir -p $(STAGING_DIR)/usr/lib
@@ -109,6 +110,7 @@ uninstall-dev:
 	rm -rf \
 		$(STAGING_DIR)/usr/include/libpq \
 		$(STAGING_DIR)/usr/include/libpq-fe.h \
+		$(STAGING_DIR)/usr/include/pg_config.h \
 		$(STAGING_DIR)/usr/include/postgres_ext.h \
 		$(STAGING_DIR)/usr/include/postgresql \
 		$(STAGING_DIR)/usr/lib/libpq.{a,so*} \