----- Original Message ----- From: "Gregor Goldbach" <goldb...@dfn-cert.de>

Are
there any magic configuration options for Inline::C I have to set
(LDFLAGS for example?).

===================================

Inline doesn't have an LDLFAGS config option. If there's an import lib that
needs to be found, there's the config option:
LIBS => '-L/path/to/library -lname',

and, for shared libs, MYEXTLIB may be useful:
MYEXTLIB => '/full/path/to/libshared.so',

You'll get to see the build report (including compiler warnings) if you
build with the config option:
BUILD_NOISY => 1,

Finally, if you haven't already done so, take a look through 'perldoc
Inline::C-Cookbook' to see if there's anything relevant there.

Note that changing the config options is not, in itself, sufficient to cause
a rebuild of the script - unless one of the config options is:
FORCE_BUILD => 1,

(To force a rebuild, I usually just add a space somewhere into the C code.)

Cheers,
Rob

Reply via email to