use ExtUtils::MakeMaker; use Config; os_unsupported if $^O eq 'MSWin32'; # I don't know on which OS'es the code will work exactly, but this one I can easily rule out. os_unsupported if $Config{ivsize} < 8; os_unsupported if $Config{byteorder} != 12345678; # pgtypes.c assumes we're little-endian os_unsupported if $Config{usequadmath}; WriteMakefile( NAME => 'FU', VERSION_FROM => 'FU.pm', LICENSE => 'mit', NO_MYMETA => 1, MIN_PERL_VERSION => 'v5.36', META_MERGE => { dynamic_config => 0, }, OPTIMIZE => '-g -O2 -Wall -Wextra', depend => { '$(OBJECT)', 'c/*.c' }, );