Browse Source

fix static build

Waldemar Brodkorb 10 years ago
parent
commit
02eaa2a7fb
2 changed files with 13 additions and 0 deletions
  1. 2 0
      package/make/Makefile
  2. 11 0
      package/make/patches/patch-commands_c

+ 2 - 0
package/make/Makefile

@@ -20,6 +20,8 @@ include $(ADK_TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,MAKE,make,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
+CONFIGURE_ARGS+=	--disable-load
+
 make-install:
 	$(INSTALL_DIR) $(IDIR_MAKE)/usr/bin
 	$(INSTALL_BIN) $(WRKINST)/usr/bin/make $(IDIR_MAKE)/usr/bin

+ 11 - 0
package/make/patches/patch-commands_c

@@ -0,0 +1,11 @@
+--- make-4.0.orig/commands.c	2013-10-06 01:12:24.000000000 +0200
++++ make-4.0/commands.c	2014-07-30 15:31:01.450155946 +0200
+@@ -14,8 +14,6 @@ A PARTICULAR PURPOSE.  See the GNU Gener
+ You should have received a copy of the GNU General Public License along with
+ this program.  If not, see <http://www.gnu.org/licenses/>.  */
+ 
+-#include <dlfcn.h>
+-
+ #include "makeint.h"
+ #include "filedef.h"
+ #include "dep.h"