Skip to content

Commit

Permalink
@5854760 be more specific when to add a dynamic linker
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Rufer authored and Avinash Kumar committed Aug 15, 2017
1 parent e6f5f61 commit 6fa8224
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 @@ -39,7 +39,7 @@ CXXFLAGS=$CFLAGS
export CXXFLAGS

sysroot=$($(which gcc) --print-sysroot) || sysroot = ""
[ $sysroot -a ${sysroot%-glibc2.19} != $sysroot ] && {
[ $sysroot -a ${sysroot%fc14-gcc4.9.2-glibc2.19} != $sysroot ] && {
LDFLAGS="-Wl,--dynamic-linker=$sysroot/lib/ld-linux.so.2 -Wl,-rpath,$sysroot/lib:/usr/lib:/lib"
export LDFLAGS
}
Expand Down

0 comments on commit 6fa8224

Please sign in to comment.