Alternatively, once you've got 'parser.o', you could just go that one extra step and create 'libparser.a' with:use Config; use Inline C => Config => LDDLFLAGS => $Config::Config{lddlflags} . ' /full/path/to/parser.o';
Then LIBS => '-L/full/path/to/lib -lparser' should also work fine.ar cru libparser.a parser.o
In reply to Re^5: Help with Inline C
by syphilis
in thread Help with Inline C
by downer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |