summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2013-05-08 09:07:59 +0100
committerSimon McVittie <smcv@debian.org>2013-05-08 09:08:09 +0100
commit6465366aa54a36ad05007f44f0244c9d57bbf417 (patch)
treef02cd7201742341ecf1ed5534b32b92c6d9ea4da
parentc2ffdaaa9d51e59652a2d66ea431a01962e4e15e (diff)
Use EXT_SUFFIX for python3.3-dbg too
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 2303cb2..d245aec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -83,7 +83,7 @@ override_dh_auto_install-arch:
--builddirectory=build-$$x-dbg \
--destdir=debian/tmp-dbg \
; \
- so=`/usr/bin/python$$x-dbg -c "print(__import__('sysconfig').get_config_var('SO'))"`; \
+ so=`/usr/bin/python$$x-dbg -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX') or sysconfig.get_config_var('SO'))"`; \
mv debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_bindings.so \
debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_bindings$$so; \
mv debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_glib_bindings.so \