Add ld flag to find library
This commit is contained in:
parent
a33f730617
commit
7ad94e808d
2
tomo.c
2
tomo.c
@ -87,7 +87,7 @@ int main(int argc, char *argv[])
|
||||
if (getenv("LDLIBS"))
|
||||
ldlibs = heap_strf("%s %s", ldlibs, getenv("LDLIBS"));
|
||||
|
||||
const char *ldflags = "-Wl,-rpath '-Wl,$ORIGIN'";
|
||||
const char *ldflags = "-Wl,-rpath '-Wl,$ORIGIN' -L/usr/local/lib";
|
||||
|
||||
const char *cc = getenv("CC");
|
||||
if (!cc) cc = "tcc";
|
||||
|
Loading…
Reference in New Issue
Block a user