summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kdedistutils.py4
1 files changed, 4 insertions, 0 deletions
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)