[package] libjpeg: fix parallel build
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Feb 2011 20:36:27 +0000 (20:36 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Feb 2011 20:36:27 +0000 (20:36 +0000)
For parallel builds, make targets that build need to be separated from targets that install ;-)

Signed-off-by: Joe Roback <joe@roback.cc>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25435 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/jpeg/Makefile

index ab940ca..142bf9a 100644 (file)
@@ -57,7 +57,11 @@ define Build/Compile
        $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
                prefix="$(PKG_INSTALL_DIR)/usr" \
                exec_prefix="$(PKG_INSTALL_DIR)/usr" \
-               all install install-headers install-lib
+               all
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               prefix="$(PKG_INSTALL_DIR)/usr" \
+               exec_prefix="$(PKG_INSTALL_DIR)/usr" \
+               install install-headers install-lib
 endef
 
 define Build/InstallDev