use Inline CPP => Config => INC => '-I/path/to/include', LIBS => '-L/path/to/lib -lmylib';