aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/Makefile')
-rw-r--r--funcs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/Makefile b/funcs/Makefile
index aa11c2059..1934be5ab 100644
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -37,7 +37,7 @@ FUNCS+=$(STANDALONE_FUNCS:.o=.so)
FUNC_SOURCES=$(BUILTINS:.o=.c)
-FUNC_STRUCTS=$(shell grep 'struct ast_custom_function' $(FUNC_SOURCES) | awk '{print $$3};')
+FUNC_STRUCTS=$(shell grep 'struct ast_custom_function' $(FUNC_SOURCES) | awk '{print $$3};' | sort)
ifeq (${OSARCH},CYGWIN)
CYGSOLINK=-Wl,--out-implib=lib$@.a -Wl,--export-all-symbols