summary refs log tree commit diff
path: root/pkgs/development/interpreters/lfe/dedup-ebins.patch
blob: 44e3733c4165b9952d433c36f95b717199c5782f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index 59f2c06..5ee8f6e 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ ESRCS = $(notdir $(wildcard $(SRCDIR)/*.erl))
 XSRCS = $(notdir $(wildcard $(SRCDIR)/*.xrl))
 YSRCS = $(notdir $(wildcard $(SRCDIR)/*.yrl))
 LSRCS = $(notdir $(wildcard $(LSRCDIR)/*.lfe))
-EBINS = $(ESRCS:.erl=.beam) $(XSRCS:.xrl=.beam) $(YSRCS:.yrl=.beam)
+EBINS = $(sort $(ESRCS:.erl=.beam) $(XSRCS:.xrl=.beam) $(YSRCS:.yrl=.beam))
 LBINS = $(LSRCS:.lfe=.beam)
 
 CSRCS = $(notdir $(wildcard $(CSRCDIR)/*.c))