Perl: propagated compile options from perl build.
Some Perl compile options affects ABI and not using them while compiling our module resulted in non-working build. Notably on 32-bit Debian 10, Perl is built with -D_FILE_OFFSET_BITS=64 and our module after being compiled without this option caused segmentation faults in unexpected places.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#define _NXT_PERL_PSGI_LAYER_H_INCLUDED_
|
||||
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <EXTERN.h>
|
||||
#include <XSUB.h>
|
||||
#include <perl.h>
|
||||
|
||||
Reference in New Issue
Block a user