From 76be949631450e97945628f8c578bcc679eb4a51 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 12 Jun 2012 12:56:09 -0500 Subject: [PATCH] Create only unversioned library when building kcontrol module or kio module Thanks to Francois Andriot for the patch! --- src/kdedistutils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kdedistutils.py b/src/kdedistutils.py index 6b28b2b..9557dc4 100644 --- a/src/kdedistutils.py +++ b/src/kdedistutils.py @@ -807,6 +807,8 @@ class BuildKControlModule(Command): cmdlist.append(sysconfig.get_config_var("LDSHARED").split()[0]) # link_flags cmdlist.append("-module") + cmdlist.append("-avoid-version") + cmdlist.append("-shared") cmdlist.append("-export-dynamic") # object cmdlist.append(outputfile) @@ -1736,6 +1738,8 @@ class BuildKioslave(Command): cmdlist.append(sysconfig.get_config_var("LDSHARED").split()[0]) # link_flags cmdlist.append("-module") + cmdlist.append("-avoid-version") + cmdlist.append("-shared") cmdlist.append("-export-dynamic") # object cmdlist.append(outputfile)