summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-12 12:56:09 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-12 12:56:09 -0500
commit76be949631450e97945628f8c578bcc679eb4a51 (patch)
treea024ca968209a76bf1f33c0bffd9bfbbf2a42743 /src
parent5112923df228e86aad7dcafca8316e586b69bc77 (diff)
downloadpytdeextensions-76be949631450e97945628f8c578bcc679eb4a51.tar.gz
pytdeextensions-76be949631450e97945628f8c578bcc679eb4a51.zip
Create only unversioned library when building kcontrol module or kio module
Thanks to Francois Andriot for the patch!
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)