# HG changeset patch
# User cslag
# Date 1459004944 -3600
# Node ID 7752fcb107e7b567a8f3afc21fcfd5750c8a81ae
# Parent  390380ef6362ae07c29ef4e9312a199637b55412
- erlang binding build fix, linker arg was at wrong place

diff -r 390380ef6362 -r 7752fcb107e7 erlang/erldc/Makefile
--- a/erlang/erldc/Makefile	Sat Mar 26 15:56:15 2016 +0100
+++ b/erlang/erldc/Makefile	Sat Mar 26 16:09:04 2016 +0100
@@ -12,7 +12,7 @@
 
 priv/erldc.so: c_src/dyncallnif.c
 	[ -d priv ] || mkdir priv
-	$(CC) -o $@ -shared -fPIC $(CFLAGS) -ldyncall_s c_src/dyncallnif.c
+	$(CC) -o $@ -shared -fPIC $(CFLAGS) c_src/dyncallnif.c -ldyncall_s
 
 priv/erldc_testtargets.so: c_src/erldctesttargets.c
 	[ -d priv ] || mkdir priv