Skip to content

Commit 8b7207d

Browse files
authored
fix(windows): require def file before link the final target (#3)
1 parent e69225e commit 8b7207d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $(shell mkdir -p $(BUILD_DIR) $(DIST_DIR))
5858
all: $(TARGET)
5959

6060
# Link the final target
61-
$(TARGET): $(OBJ_FILES)
61+
$(TARGET): $(OBJ_FILES) $(DEF_FILE)
6262
$(CC) $(LDFLAGS) -o $@ $^
6363
ifeq ($(PLATFORM),windows)
6464
# Generate import library for Windows

0 commit comments

Comments
 (0)