diff --git a/component/slapos/obs.cfg b/component/slapos/obs.cfg
index 2ee47cbc660b17235ef3f5ca86a6c5beada39642..27e9e1f8846ed2fd7196ad4918e38f6a454f0d60 100644
--- a/component/slapos/obs.cfg
+++ b/component/slapos/obs.cfg
@@ -85,6 +85,7 @@ make-options =
 
 [gobject-introspection]
 pre-configure =
+  ln -s ${python2.7:location}/bin/python2.7 ${python2.7:location}/bin/python2.
   sed -i 's#!/opt/slapos/parts/python2.7/bin/python2.7#!${python2.7:location}/bin/python2.7#' ${python2.7:location}/bin/python-config
   libtoolize -c -f
   aclocal -I${pkgconfig:location}/share/aclocal -I${gettext:location}/share/aclocal -I${libtool:location}/share/aclocal -I${glib:location}/share/aclocal