On Sun, 30 Aug 2020, Mattias Gaertner via fpc-pascal wrote:
On Sun, 30 Aug 2020 13:38:12 +0200 (CEST) Michael Van Canneyt via fpc-pascal <[email protected]> wrote:On Sun, 30 Aug 2020, Mattias Gaertner via fpc-pascal wrote: > Hi, > > AddLibrary('libbla.pp') creates under Linux "blalib.so". > I want "bla.so". >> How to do that?AddLibrary('libbla.pp').SetExeName('bla');Creates "bla", not "bla.so".
I had a look at the code, it indeed cuts off the extension. That does not seem logical. Maybe we need to add OutputFileName : string which simply sets the -o option, SetExeName() can then just set OutputFileName. Michael. _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
