diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-10 00:05:32 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-10 00:05:32 -0500 |
| commit | 7ad94e808d2eb1752e85021237893a0c11d391ba (patch) | |
| tree | 272c5570c561c23668559edd991aac6cf01a8e15 | |
| parent | a33f73061776d6814f67fecd230c0706bc1ff10c (diff) | |
Add ld flag to find library
| -rw-r--r-- | tomo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |
