mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-10 07:11:39 +00:00
Add comment to explain -rpath linker option.
This resolves a TODO.
This commit is contained in:
parent
5663a8147b
commit
55b05163a9
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ if [ $(uname) = "Darwin" ]; then
|
|||
MACOSX_DEPLOYMENT_TARGET=10.7
|
||||
export LDFLAGS MACOSX_DEPLOYMENT_TARGET
|
||||
else
|
||||
# TODO: explain what this does
|
||||
# Include $INSTALL_DIR/lib in the list of paths that is searched
|
||||
# when looking for DLLs. This allows built binaries to be run
|
||||
# without needing to set LD_LIBRARY_PATH every time.
|
||||
LDFLAGS="-Wl,-rpath -Wl,$INSTALL_DIR/lib ${LDFLAGS:-}"
|
||||
export LDFLAGS
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue