PKG_NAME:=ruby
PKG_VERSION:=3.0.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
# First two numbes
PKG_ABI_VERSION:=$(subst $(space),.,$(wordlist 1, 2, $(subst .,$(space),$(PKG_VERSION))))
# Host JIT does work but it is not worth it
HOST_CONFIGURE_ARGS += --disable-jit-support
+# Apple ld generates warning if LD_FLAGS var includes path to lib that is not
+# exist (e.g. -L$(STAGING_DIR)/host/lib). configure script fails if ld generates
+# any output
+HOST_LDFLAGS += \
+ $(if $(CONFIG_HOST_OS_MACOS),-Wl$(comma)-w)
+
TARGET_LDFLAGS += -L$(PKG_BUILD_DIR)
# Ruby uses DLDFLAGS and not LDFLAGS for libraries. LDFLAGS is only for execs.
# nothing to do
define Package/ruby-stdlib/install
- /bin/true
+ true
endef
define Package/ruby-abbrev/files