mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-02 03:01:53 +02:00
fix postgresql again (it wasn't installing enough stuff into the staging dir)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@861 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
83aa20e314
commit
506a764103
@ -83,10 +83,18 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
|||||||
touch $(PKG_BUILD_DIR)/.built
|
touch $(PKG_BUILD_DIR)/.built
|
||||||
|
|
||||||
$(STAGING_DIR)/usr/lib/libpq.so: $(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)" \
|
DESTDIR="$(STAGING_DIR)" \
|
||||||
install-all-headers
|
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
|
$(IPKG_LIBPQ): $(STAGING_DIR)/usr/lib/libpq.so
|
||||||
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) ./ipkg/libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
|
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) ./ipkg/libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
|
||||||
|
Loading…
Reference in New Issue
Block a user