Re: [fpc-pascal] Linking to library on Mac

2011-06-24 Thread Jonas Maebe
On 24 Jun 2011, at 00:06, Darius Blaszyk wrote: I'm porting an app from delphi to lazarus and now I reached a problem when trying to link to the library. The library comes with the .dynlib .a and all header files. I placed them somewhere under my homedir and added the following to my code:

[fpc-pascal] Linking to library on Mac

2011-06-23 Thread Darius Blaszyk
Hi, I'm porting an app from delphi to lazarus and now I reached a problem when trying to link to the library. The library comes with the .dynlib .a and all header files. I placed them somewhere under my homedir and added the following to my code: {$linklib mylibrary} I also pass the following