Fix tcl-tk path select condition
This commit is contained in:
parent
48766eb177
commit
f78c45b59c
@ -1650,9 +1650,10 @@ use_homebrew_tcltk() {
|
|||||||
package_option python configure --with-tcltk-libs="-L$tcltk_libdir/lib -ltcl$tcltk_version -ltk$tcltk_version"
|
package_option python configure --with-tcltk-libs="-L$tcltk_libdir/lib -ltcl$tcltk_version -ltk$tcltk_version"
|
||||||
if [ -d "$tcltk_libdir/include/tcl-tk" ]; then
|
if [ -d "$tcltk_libdir/include/tcl-tk" ]; then
|
||||||
package_option python configure --with-tcltk-includes="-I$tcltk_libdir/include/tcl-tk"
|
package_option python configure --with-tcltk-includes="-I$tcltk_libdir/include/tcl-tk"
|
||||||
fi
|
else
|
||||||
package_option python configure --with-tcltk-includes="-I$tcltk_libdir/include"
|
package_option python configure --with-tcltk-includes="-I$tcltk_libdir/include"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
export PKG_CONFIG_PATH="${tcltk_libdir}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
|
export PKG_CONFIG_PATH="${tcltk_libdir}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user