diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-28 14:29:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-28 14:29:15 -0400 |
| commit | 7bbff77b0cfeaf0adeca24a907385cd3cb5665d9 (patch) | |
| tree | 3eedabb908685f30eacb80828905e607fa95f886 | |
| parent | c3f89e001c27029b13315a5b2f6b2ffd277292b0 (diff) | |
Fix LDFLAGS for check-libs
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ check-c-compiler: || { printf '\033[31;1m%s\033[m\n' "You have set your DEFAULT_C_COMPILER to $(DEFAULT_C_COMPILER) in your config.mk, but I can't run it!"; exit 1; } check-libs: check-c-compiler - @echo 'int main() { return 0; }' | $(DEFAULT_C_COMPILER) $(LDLIBS) -x c - -o /dev/null 2>/dev/null >/dev/null \ + @echo 'int main() { return 0; }' | $(DEFAULT_C_COMPILER) $(LDFLAGS) $(LDLIBS) -x c - -o /dev/null 2>/dev/null >/dev/null \ || { printf '\033[31;1m%s\033[m\n' "I expected to find the following libraries on your system, but I can't find them: $(LDLIBS)"; exit 1; } build/bin/tomo: $(STDLIB_OBJS) $(COMPILER_OBJS) |
