summaryrefslogtreecommitdiff
path: root/cpp/install/common/components.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/install/common/components.py')
-rwxr-xr-xcpp/install/common/components.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/install/common/components.py b/cpp/install/common/components.py
index d9962bc688a..58a595f761c 100755
--- a/cpp/install/common/components.py
+++ b/cpp/install/common/components.py
@@ -60,6 +60,7 @@ def fixVersion(file, argsHash):
return
version = argsHash['version']
+ libversion = argsHash['dllversion']
origfile = file + ".orig"
os.rename(file, origfile)
@@ -67,6 +68,7 @@ def fixVersion(file, argsHash):
newFile = open(file, "w")
line = oldFile.read();
line = re.sub("@ver@", version, line)
+ line = re.sub("@libver@", libversion, line)
newFile.write(line)
newFile.close()
oldFile.close()