nixpkgs/pkgs/development/ocaml-modules/expat/unittest.patch

16 lines
440 B
Diff
Raw Normal View History

--- old/Makefile 2005-03-13 09:00:29.000000000 -0500
+++ new/Makefile 2010-08-26 14:20:34.515785557 -0400
@@ -67,10 +67,10 @@
testall: test testopt
.PHONY: test
test: unittest
- ./unittest
+ LD_LIBRARY_PATH=. ./unittest
.PHONY: testopt
testopt: unittest.opt
- ./unittest.opt
+ LD_LIBRARY_PATH=. ./unittest.opt
unittest: all unittest.ml
$(OCAMLFIND) ocamlc -o unittest -package oUnit -ccopt -L. -linkpkg \
$(ARCHIVE) unittest.ml