diff options
author | Brent Eagles <brent@zeroc.com> | 2005-12-23 17:39:58 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-12-23 17:39:58 +0000 |
commit | 7c9f76aabcfbcfc6c0f0acb399fb37bacb893b83 (patch) | |
tree | 90d431bd5f879805998856317b71dc4429e3e1c0 /cpp/makebindist.py | |
parent | initial add icepatch assembly pkgconfig file (diff) | |
download | ice-7c9f76aabcfbcfc6c0f0acb399fb37bacb893b83.tar.bz2 ice-7c9f76aabcfbcfc6c0f0acb399fb37bacb893b83.tar.xz ice-7c9f76aabcfbcfc6c0f0acb399fb37bacb893b83.zip |
working towards proper noarch dotnet RPM and proper assembly installation.
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-x | cpp/makebindist.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py index 87f7e66b007..7b4702e323d 100755 --- a/cpp/makebindist.py +++ b/cpp/makebindist.py @@ -482,9 +482,17 @@ def makeInstall(sources, buildDir, installDir, distro, clean, version): if distro.startswith('IceCS'): assemblies = ["glacier2cs", "iceboxcs", "icecs", "icegridcs", "icepatch2cs", "icestormcs"] + + # + # We are relying on pkgconfig to deal with some mono library + # configuration, so we need to copy these files into place. + # + if not os.path.exists("%s/lib/pkgconfig" % installDir): + os.makedirs("%s/lib/pkgconfig" % installDir) + for a in assemblies: shutil.copy("bin/%s.dll" % a, "%s/bin/%s.dll" % (installDir, a)) - shutil.copy("bin/iceboxnet.exe", "%s/bin/iceboxnet.exe" % installDir) + shutil.copy("lib/pkgconfig/%s.pc" % a, "%s/lib/pkgconfig" % installDir) os.chdir(cwd) @@ -1093,10 +1101,6 @@ def main(): cwd = os.getcwd() os.chdir(installDir) - # - # XXX- make configurable. - # - if not getPlatform().startswith('linux'): # # Get third party libraries. |