diff --git a/package/base/python/python.conf b/package/base/python/python.conf index d49ef41f6..522b06fd7 100644 --- a/package/base/python/python.conf +++ b/package/base/python/python.conf @@ -30,11 +30,18 @@ enable_tcltk() { echo " -L/usr/X11R6/lib -I/usr/X11R6/include \\" ; echo " -ltk8.4 -ltcl8.4 -lX11" ; } >> Modules/Setup.local + export LIBS="$LIBS -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11" fi } +make_py_profile() { + echo "export LIBPYTHON='-lpython2.3$LIBS'" > $root/etc/profile.d/python +} + +export LIBS= runpysetup=0 -premake="enable_tcltk" +preconf="enable_tcltk" +postmake="make_py_profile" confopt="$confopt --with-threads" # We can savely ignore this dependencies.