Skip to content

Commit 5372865

Browse files
committed
Define Ruby functions for mac to fix build errors
1 parent 88fb831 commit 5372865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macos/Dependencies/common.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ $(LIBDIR)/libruby.3.4.dylib: $(DOWNLOADS)/ruby/Makefile
308308
$(DOWNLOADS)/ruby/Makefile: $(DOWNLOADS)/ruby/configure
309309
cd $(DOWNLOADS)/ruby; \
310310
export $(CONFIGURE_ENV); \
311-
export CFLAGS="-flto=full -DRUBY_FUNCTION_NAME_STRING=__func__ $$CFLAGS"; \
311+
export CFLAGS="-flto=full -DRUBY_FUNCTION_NAME_STRING=__func__ $$CFLAGS -DHAVE_RB_HASH_BULK_INSERT -DHAVE_RB_REG_ONIG_MATCH"; \
312312
export LDFLAGS="-flto=full $$LDFLAGS"; \
313313
./configure $(CONFIGURE_ARGS) $(RUBY_CONFIGURE_ARGS) $(RUBY_FLAGS)
314314

0 commit comments

Comments
 (0)