use Inline C => Config => LIBS => '-L/full/path/to/library -lhasp_linux';