wxbase: ups...
[openwrt/svn-archive/archive.git] / libs / wxbase / Makefile
index 2162276adbb2334cbf814c36f65c15661359232b..57585f909fa4a10d5699213bc912ceebfef91b29 100644 (file)
@@ -106,9 +106,11 @@ CONFIGURE_ARGS+= \
 CONFIGURE_VARS+= \
        CXX="g++-uc+std" \
 
-MAKE_FLAGS += \
-       DESTDIR="$(PKG_INSTALL_DIR)" \
-       all install \
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               all install
+endef
 
 define Build/InstallDev
        mkdir -p $(STAGING_DIR)/usr/bin