]> git.droids-corp.org - dpdk.git/blobdiff - mk/rte.hostapp.mk
service: fix race in service on app lcore function
[dpdk.git] / mk / rte.hostapp.mk
index 5cb4909cb6bf033b3560ce435eb6d76f67980910..f58173c319bb4bafadcfa77a19d15f95da5a8545 100644 (file)
@@ -69,9 +69,9 @@ O_TO_EXE_DO = @set -e; \
 -include .$(HOSTAPP).cmd
 
 # list of .a files that are linked to this application
-LDLIBS_FILES := $(wildcard \
+LDLIBS_FILES := $(sort $(wildcard \
        $(addprefix $(RTE_OUTPUT)/lib/, \
-       $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS)))))
+       $(patsubst -l%,lib%.a,$(filter -l%,$(LDLIBS))))))
 
 #
 # Compile executable file if needed