diff erlang/erldc/Makefile @ 14:7752fcb107e7

- erlang binding build fix, linker arg was at wrong place
author cslag
date Sat, 26 Mar 2016 16:09:04 +0100
parents 079718588eb6
children 681db37a300c
line wrap: on
line diff
--- 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