X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae1f46d43dfb8e013d29aff091b7261a8a420367..fcb2538f2b451558abc10a18fa0c509f3f31cb2c:/package/grub/Makefile diff --git a/package/grub/Makefile b/package/grub/Makefile index 7dfd1429d..434af2bc9 100644 --- a/package/grub/Makefile +++ b/package/grub/Makefile @@ -45,6 +45,7 @@ else CONFIGURE_FLAGS:= endif +ifneq ($(HOST_OS),Darwin) define Build/Configure (cd $(PKG_BUILD_DIR); \ LDFLAGS="-static" \ @@ -83,5 +84,6 @@ define Build/InstallDev install mv $(STAGING_DIR_HOST)/usr/sbin/grub $(STAGING_DIR_HOST)/bin endef +endif $(eval $(call BuildPackage,grub))