diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-12 12:56:09 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-12 12:56:09 -0500 |
commit | 76be949631450e97945628f8c578bcc679eb4a51 (patch) | |
tree | a024ca968209a76bf1f33c0bffd9bfbbf2a42743 /src | |
parent | 5112923df228e86aad7dcafca8316e586b69bc77 (diff) | |
download | pytdeextensions-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.py | 4 |
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) |