X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/83aa20e314ae2bf9c7851279cf152352a9f99318..84abb4eda329e3d9ac21a18e673c8bb2bd8fadd3:/openwrt/package/postgresql/Makefile?ds=sidebyside diff --git a/openwrt/package/postgresql/Makefile b/openwrt/package/postgresql/Makefile index 5c0226646..a444fdf51 100644 --- a/openwrt/package/postgresql/Makefile +++ b/openwrt/package/postgresql/Makefile @@ -83,10 +83,18 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured touch $(PKG_BUILD_DIR)/.built $(STAGING_DIR)/usr/lib/libpq.so: $(PKG_BUILD_DIR)/.built - $(MAKE) -C "$(PKG_BUILD_DIR)" \ + $(MAKE) -C "$(PKG_BUILD_DIR)/src" \ DESTDIR="$(STAGING_DIR)" \ install-all-headers - cp -a $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.so* $(STAGING_DIR)/usr/lib + $(MAKE) -C "$(PKG_BUILD_DIR)/src/include" \ + DESTDIR="$(STAGING_DIR)" \ + install + $(MAKE) -C "$(PKG_BUILD_DIR)/src/interfaces/libpq" \ + DESTDIR="$(STAGING_DIR)" \ + install + mkdir -p $(STAGING_DIR)/usr/lib + cp -a $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.so* $(STAGING_DIR)/usr/lib/ + cp $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.a $(STAGING_DIR)/usr/lib/ $(IPKG_LIBPQ): $(STAGING_DIR)/usr/lib/libpq.so $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) ./ipkg/libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)