use Config; use Inline C => Config => LDDLFLAGS => $Config::Config{lddlflags} . ' /full/path/to/parser.o';