aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-10 00:05:32 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-10 00:05:32 -0500
commit7ad94e808d2eb1752e85021237893a0c11d391ba (patch)
tree272c5570c561c23668559edd991aac6cf01a8e15
parenta33f73061776d6814f67fecd230c0706bc1ff10c (diff)
Add ld flag to find library
-rw-r--r--tomo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tomo.c b/tomo.c
index 631e081f..c7cbd3fc 100644
--- a/tomo.c
+++ b/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";