comparison 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
comparison
equal deleted inserted replaced
13:390380ef6362 14:7752fcb107e7
10 10
11 all: $(OUTPUTS) 11 all: $(OUTPUTS)
12 12
13 priv/erldc.so: c_src/dyncallnif.c 13 priv/erldc.so: c_src/dyncallnif.c
14 [ -d priv ] || mkdir priv 14 [ -d priv ] || mkdir priv
15 $(CC) -o $@ -shared -fPIC $(CFLAGS) -ldyncall_s c_src/dyncallnif.c 15 $(CC) -o $@ -shared -fPIC $(CFLAGS) c_src/dyncallnif.c -ldyncall_s
16 16
17 priv/erldc_testtargets.so: c_src/erldctesttargets.c 17 priv/erldc_testtargets.so: c_src/erldctesttargets.c
18 [ -d priv ] || mkdir priv 18 [ -d priv ] || mkdir priv
19 $(CC) -o $@ -shared -fPIC c_src/erldctesttargets.c 19 $(CC) -o $@ -shared -fPIC c_src/erldctesttargets.c
20 20