From 8ada8156e0d98c2fe48f21e3fdea121380b72012 Mon Sep 17 00:00:00 2001 From: Ming Yue Date: Tue, 8 Sep 2020 18:24:28 -0700 Subject: [PATCH] Fix the Posix port demo libpcap lib linking order issue in staic linking for WSL. (#251) --- FreeRTOS/Demo/Posix_GCC/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeRTOS/Demo/Posix_GCC/Makefile b/FreeRTOS/Demo/Posix_GCC/Makefile index 0d62070ad6..eea293c690 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}