From 5343f4820b5acf49da65b1ea635d2f42d0292c16 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Mon, 3 Jun 2024 16:25:08 -0400 Subject: Added in searchpath for lib64, which is where libraries get installed sometimes. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ae162a6..f996aae 100755 --- a/build.sh +++ b/build.sh @@ -9,7 +9,7 @@ SRCS="src/*.c" COMPILE_FLAGS="$CFLAGS -Ilib/prefix/include" # We specifically rename this and LDFLAGS, because exotic build environments export these to subprcoesses. -LINK_FLAGS="$LDFLAGS -lm -Llib/prefix/lib" # And ideally we don't want to mess with the underlying build processes, unless we're explicit about it. +LINK_FLAGS="$LDFLAGS -lm -Llib/prefix/lib -Llib/prefix/lib64" # And ideally we don't want to mess with the underlying build processes, unless we're explicit about it. [[ "$@" == "clean" ]] && rm -rf lib/libgit2/build lib/zlib/build lib/libzip/build lib/mbedtls/build lib/prefix lua $BIN *.exe src/lpm.luac src/lpm.lua.c && exit 0 cmake --version >/dev/null 2>/dev/null || { echo "Please ensure that you have cmake installed." && exit -1; } -- cgit v1.2.3