diff options
author | Ming Yue <mingyue86010@gmail.com> | 2020-09-08 18:24:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 18:24:28 -0700 |
commit | 8ada8156e0d98c2fe48f21e3fdea121380b72012 (patch) | |
tree | 8570ea1df7e7d3a69259917e99c9950111d7bdb6 | |
parent | 27d341e5ab75ea9e75351f9f43ccadec451a5634 (diff) | |
download | freertos-git-8ada8156e0d98c2fe48f21e3fdea121380b72012.tar.gz |
Fix the Posix port demo libpcap lib linking order issue in staic linking for WSL. (#251)
-rw-r--r-- | FreeRTOS/Demo/Posix_GCC/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/Posix_GCC/Makefile b/FreeRTOS/Demo/Posix_GCC/Makefile index 0d62070ad..eea293c69 100644 --- a/FreeRTOS/Demo/Posix_GCC/Makefile +++ b/FreeRTOS/Demo/Posix_GCC/Makefile @@ -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} |