Hi,

Let's say I have a C app that I build like so:

gcc app1.c -lsomelib

When it comes to linking to libsomelib.a in my Inline C programs, that's not
a problem - I just include in the script:

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

But what if I need to link to a shared library. For C apps it's just a
matter of running:

gcc app2.c /path/to/sharedlib.so

How do I get my Inline C scripts to link to sharedlib.so ??

Cheers,
Rob


Reply via email to