use Inline C => Config => LIBS => '-lyourlib';