Fix the Posix port demo libpcap lib linking order issue in staic linking for WSL. (#251)

pull/252/head
Ming Yue 5 years ago committed by GitHub
parent 27d341e5ab
commit 8ada8156e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,7 +85,7 @@ ${BIN} : $(BUILD_DIR)/$(BIN)
${BUILD_DIR}/${BIN} : ${OBJ_FILES}
-mkdir -p ${@D}
$(CC) $(CFLAGS) $(INCLUDE_DIRS) ${LDFLAGS} $^ -o $@
$(CC) $^ $(CFLAGS) $(INCLUDE_DIRS) ${LDFLAGS} -o $@
-include ${DEP_FILE}

Loading…
Cancel
Save