$LINKLIB won't search library if -FU directory wasn't cleared
Original Reporter info from Mantis: Andru
-
Reporter name:
Original Reporter info from Mantis: Andru
- Reporter name:
Description:
I use $LINKLIB with set my own path:
{$LINKLIB zlib/linux_x86_64/libz.z}
And when I compile the code first time all works fine:
fpc myCode.pas -FU./tmp -Fu./lib -omyTarget
But when I try to compile it in second time(with minor changes in some modules), I get this:
Warning: Library libz.a not found, Linking may fail !
Why FreePascal uses correct path only one time?
Mantis conversion info:
- Mantis ID: 18294
- OS: GNU/Linux
- Platform: i386, x86_64
- Version: 2.4.2
- Monitored by: » Andru (Andru), » parcel (Do-wan Kim)