Skip to content

Commit

Permalink
Merge pull request #134 from jcharaoui/fix-native-artifact-not-linked
Browse files Browse the repository at this point in the history
Fix native artifact linking, fixes #128
  • Loading branch information
headius committed Dec 9, 2022
2 parents 2858168 + c404bcb commit 8dbfc31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jni/GNUmakefile
Expand Up @@ -260,7 +260,7 @@ debug:
@echo "OBJS=$(OBJS)"

$(LIBJFFI): $(OBJS) $(LIBFFI_LIBS)
$(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI) $(LIBS)
$(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI_LIBS) $(LIBS)
$(STRIP) $@
ifeq ($(OS), darwin)
codesign -s - $@
Expand All @@ -274,7 +274,7 @@ $(BUILD_DIR)/%.o : $(SRC_DIR)/%.S $(wildcard $(JFFI_SRC_DIR)/*.h)
@mkdir -p $(@D)
@$(CC) $(CFLAGS) -o $@ -c $<

$(OBJS) : $(LIBFFI)
$(OBJS) : $(LIBFFI_LIBS)

ifeq ($(OS), darwin)
build_ffi = \
Expand Down

0 comments on commit 8dbfc31

Please sign in to comment.