mlib-tgt-darwin.adb (Build_Dynamic_Library): Remove the "-fini" switch, not supported...
authorVincent Celier <celier@adacore.com>
Fri, 18 Mar 2005 11:53:34 +0000 (12:53 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 18 Mar 2005 11:53:34 +0000 (12:53 +0100)
commit3bc7ffd0c0e182a5b212b572a5804bacc1440b37
tree60c9958423888b756fd045154772991955e8d9bf
parentce65449a3562d260d3153d5345076bab06761df5
mlib-tgt-darwin.adb (Build_Dynamic_Library): Remove the "-fini" switch, not supported by the linker on Darwin.

2005-03-17  Vincent Celier  <celier@adacore.com>
    Nicolas Setton  <setton@adacore.com>

* mlib-tgt-darwin.adb (Build_Dynamic_Library): Remove the "-fini"
switch, not supported by the linker on Darwin. Add '_' before
<library>init, as this character is added unconditionally by the
compiler.
(Is_Archive_Ext): Replace the wrong library extension ".dyld" by the
correct one ".dylib". This fixes detection of the archive files when
building library projects.

From-SVN: r96676
gcc/ada/mlib-tgt-darwin.adb