summaryrefslogtreecommitdiffstats
path: root/kalzium/src/solver/Makefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-28 02:57:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-28 03:01:08 +0200
commit1860ce3753ff42011abd242aad50199fc609ecf4 (patch)
treefa49234cc73b69c45b9ed8a13a9865d68e2effec /kalzium/src/solver/Makefile
parent852f2d3e54ecaed2702027f07a4182d20dd5adc3 (diff)
downloadtdeedu-1860ce3753ff42011abd242aad50199fc609ecf4.tar.gz
tdeedu-1860ce3753ff42011abd242aad50199fc609ecf4.zip
Fix hardcoded link to dl library
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 018f9f37093234758da14b56ac7690e51abff86c)
Diffstat (limited to 'kalzium/src/solver/Makefile')
-rw-r--r--kalzium/src/solver/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kalzium/src/solver/Makefile b/kalzium/src/solver/Makefile
index 6012982c..19f9dafb 100644
--- a/kalzium/src/solver/Makefile
+++ b/kalzium/src/solver/Makefile
@@ -43,7 +43,7 @@ testcprog: $(CHEM_CMX) $(CHEM_O)
$(OCAMLOPT) -output-obj -o solver.o $(LIBADD_CMX) $(CHEM_CMX) modwrap.o
gcc -c -o main.o main.c -L $(OCAMLLIB)
gcc -o $@ main.o solver.o -L $(OCAMLLIB) \
- -L $(OCAMLLIB)/facile -lasmrun -lstr -lnums -lm -ldl modwrap.o
+ -L $(OCAMLLIB)/facile -lasmrun -lstr -lnums -lm $(LIBDL) modwrap.o
.SUFFIXES:
.SUFFIXES: .ml .mli .mly .mll .cmi .cmo .cmx .p.cmx .c