summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kdedistutils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py
index 63ed6be..3d85932 100644
--- a/src/kdedistutils.py
+++ b/src/kdedistutils.py
@@ -790,6 +790,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)
@@ -1703,6 +1705,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)