[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-12-29 (15:55) |
From: | lin hong <lhong@a...> |
Subject: | How to add a "non-standard" static c library to ocaml project |
Hey, I'm struggling with this for few days. We have a static C library, instead of "libsomename.a", it's "somename.a", so we could not link it in the usually way like "-lsomename". In myocamlbuild.ml, I did try to add it's head files dir into cflags, and "/somelib/dir/somename.a" to clibs. This works for Mac, however, in Linux, it won't pass the linking process. Any idea is appreciated ~ Thank you. Lin