diff options
-rw-r--r-- | yjit/yjit.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yjit/yjit.mk b/yjit/yjit.mk index 16d7736714..0a4e9c3b6e 100644 --- a/yjit/yjit.mk +++ b/yjit/yjit.mk @@ -42,11 +42,10 @@ endif yjit-libobj: $(YJIT_LIBOBJ) -# Note, BSD handling is in yjit/not_gmake.mk YJIT_LIB_SYMBOLS = $(YJIT_LIBS:.a=).symbols $(YJIT_LIBOBJ): $(YJIT_LIBS) $(ECHO) 'partial linking $(YJIT_LIBS) into $@' -ifneq ($(findstring linux,$(target_os)),) +ifneq ($(or $(findstring linux,$(target_os)),$(findstring bsd,$(target_os))),$(findstring dragonfly,$(target_os))),) $(Q) $(LD) -r -o $@ --whole-archive $(YJIT_LIBS) -$(Q) $(OBJCOPY) --wildcard --keep-global-symbol='$(SYMBOL_PREFIX)rb_*' $(@) else ifneq ($(findstring darwin,$(target_os)),) |