Permalink
Browse files

Fix build

  • Loading branch information...
samoht committed May 16, 2012
1 parent 266147b commit bcd969d772bdd0b96aec59a6a659f2551cad8251
Showing with 18 additions and 4 deletions.
  1. +4 −1 Makefile
  2. +4 −0 ocaml-libs.ocp
  3. +10 −3 opam.ocp
View
@@ -50,10 +50,13 @@ distclean: clean
rm -rf _obuild _build
$(MAKE) -C $(SRC_EXT) distclean
-.PHONY: tests
+.PHONY: tests tests-server
tests:
$(MAKE) -C tests
+tests-server:
+ $(MAKE) -C tests server
+
tests-runserver:
$(MAKE) -C tests runserver
View
@@ -46,4 +46,8 @@ begin
has_asm = true
end
+ begin library "threads"
+ has_byte = true
+ has_asm = true
+ end
end
View
@@ -97,15 +97,22 @@ begin library "opam-server-lib"
files = [
"src/repo/server/protocol.ml"
"src/repo/server/key.ml"
- "src/repo/server/daemon.ml"
"src/repo/server/client.ml"
]
requires = [ "opam-lib" ]
end
begin program "opam-server"
- files = [ "src/repo/server/server.ml" ]
- requires = [ "opam-server-lib" ]
+ files = [
+ "src/repo/server/daemon.ml"
+ "src/repo/server/server.ml"
+ ]
+ comp += [ "-thread" ]
+ link += [ "-thread" ]
+ requires = [
+ "opam-server-lib"
+ "threads"
+ ]
end
begin program "opam-server-init"

0 comments on commit bcd969d

Please sign in to comment.