Skip to content

Commit

Permalink
Added in searchpath for lib64, which is where libraries get installed…
Browse files Browse the repository at this point in the history
… sometimes.
  • Loading branch information
adamharrison committed Jun 3, 2024
1 parent 22152f1 commit 5343f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 5343f48

Please sign in to comment.