mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
Fix the static linking issue. fixes tstack/lnav#71.
This commit is contained in:
parent
3251554cf9
commit
e5471490cf
6
configure
vendored
6
configure
vendored
@ -3190,7 +3190,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
||||
|
||||
|
||||
|
||||
for defdir in /opt/local /usr/local /usr; do
|
||||
for defdir in /opt/local /usr/local /usr /; do
|
||||
if test -d "$defdir/include"; then
|
||||
CPPFLAGS="$CPPFLAGS -I$defdir/include"
|
||||
fi
|
||||
@ -3201,6 +3201,10 @@ for defdir in /opt/local /usr/local /usr; do
|
||||
if test -d "$defdir/lib64"; then
|
||||
LDFLAGS="$LDFLAGS -L$defdir/lib64"
|
||||
fi
|
||||
|
||||
if test -d "$defdir/lib/x86_64-linux-gnu"; then
|
||||
LDFLAGS="$LDFLAGS -L$defdir/lib/x86_64-linux-gnu"
|
||||
fi
|
||||
done
|
||||
|
||||
case x$srcdir in
|
||||
|
@ -8,7 +8,7 @@ AC_PREFIX_DEFAULT(/usr/)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
for defdir in /opt/local /usr/local /usr; do
|
||||
for defdir in /opt/local /usr/local /usr /; do
|
||||
if test -d "$defdir/include"; then
|
||||
CPPFLAGS="$CPPFLAGS -I$defdir/include"
|
||||
fi
|
||||
@ -19,6 +19,10 @@ for defdir in /opt/local /usr/local /usr; do
|
||||
if test -d "$defdir/lib64"; then
|
||||
LDFLAGS="$LDFLAGS -L$defdir/lib64"
|
||||
fi
|
||||
|
||||
if test -d "$defdir/lib/x86_64-linux-gnu"; then
|
||||
LDFLAGS="$LDFLAGS -L$defdir/lib/x86_64-linux-gnu"
|
||||
fi
|
||||
done
|
||||
|
||||
dnl abssrcdir is the absolute path to the source base (regardless of where
|
||||
|
Loading…
Reference in New Issue
Block a user