On Sun, 30 Aug 2020 14:16:14 +0200 (CEST) Michael Van Canneyt via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
> 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 <fpc-pascal@lists.freepascal.org> > > 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. Is there a workaround for fpc 3.2.0? Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal