summaryrefslogtreecommitdiffstats
path: root/src/kdedistutils.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-12 12:56:09 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-07-29 14:12:41 +0200
commit24895f4f3250657ac1e21a655c3bfa7611031f02 (patch)
tree34d0a91618d3adf0c92199a010cdbc2de75b5ce8 /src/kdedistutils.py
parenteb4b9cc7d852f78a83c21698089640665b369354 (diff)
downloadpytdeextensions-24895f4f3250657ac1e21a655c3bfa7611031f02.tar.gz
pytdeextensions-24895f4f3250657ac1e21a655c3bfa7611031f02.zip
Create only unversioned library when building kcontrol module or kio module
Thanks to Francois Andriot for the patch! (cherry picked from commit 76be949631450e97945628f8c578bcc679eb4a51)
Diffstat (limited to 'src/kdedistutils.py')
-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)