in reply to Re^3: How to properly use ExtUtils::MakeMaker PL_FILES attribute?
in thread How to properly use ExtUtils::MakeMaker PL_FILES attribute?
See Linux::NFS::BigDir. Is that the module you're working on?
Yes, I'm the author of Linux::NFS::BigDir.
How often in the past 20 years has that number you're fetching from the header changed? It should be easy to lookup
If I could rely on h2ph, yes, but I can't. Linux distributions have a variation of locations there they think it the best way to keep C header files. On the other hand, they don't distribute broken C libraries, so it is safe to assume I can use it to get the constant.
Instead of generating a throwaway module so you can inline a constant, you should be generate a data file, using the "official" way for data files File::ShareDir / File::ShareDir::Install
That will probably give me a maintenance headache: we just need a new processor coming up or anything else that justify changing that constant.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to properly use ExtUtils::MakeMaker PL_FILES attribute?
by Anonymous Monk on Jun 04, 2017 at 08:29 UTC | |
by glasswalk3r (Friar) on Jun 06, 2017 at 13:47 UTC |