mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
Attempt to correctly find python on host sunx
(This used to be commit 59b62280d2
)
This commit is contained in:
committed by
Jelmer Vernooij
parent
d7dbb530b5
commit
1d8973a82e
@ -48,8 +48,9 @@ fi
|
|||||||
if test -z "$PYTHON_CONFIG"; then
|
if test -z "$PYTHON_CONFIG"; then
|
||||||
AC_MSG_WARN([No python-config found])
|
AC_MSG_WARN([No python-config found])
|
||||||
else
|
else
|
||||||
TRY_LINK_PYTHON([`$PYTHON_CONFIG --ldflags`], [`$PYTHON_CONFIG --includes`])
|
base=`$PYTHON_CONFIG --prefix`
|
||||||
TRY_LINK_PYTHON([`$PYTHON_CONFIG --ldflags`], [`$PYTHON_CONFIG --cflags`])
|
TRY_LINK_PYTHON([`echo -n -L${base}/lib " "; $PYTHON_CONFIG --ldflags`], [`$PYTHON_CONFIG --includes`])
|
||||||
|
TRY_LINK_PYTHON([`echo -n -L${base}/lib " "; $PYTHON_CONFIG --ldflags`], [`$PYTHON_CONFIG --cflags`])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$PYTHON != x
|
if test x$PYTHON != x
|
||||||
|
Reference in New Issue
Block a user