Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
libdir detection is buggy in many cases #2038
I have been cross-compiling json-glib (which uses meson) for 32-bit and it would install it inside lib64/:
The compilation is fine and renders proper 32-bit:
Only the path is wrong.
Also for information, I do not consider the proposed solution of setting
What settings would it be? sizeof_int?
Is there no good way to determine if the target is 64 bit? I could think of checking
As a last comment, I would not be against just defaulting to lib/ always, even when the target is know 64-bit. The directory lib64/ is somewhat considered deprecated by many distributions and I think all 64-bit distributions will look in lib/ as well as lib64/ anyway.
In which section do you set this? I tried under every section in your doc (host_machine, binaries, properties… tried them all just to be sure) but it didn't set
Edit: or I realize suddenly, did you actually mean that you should add this? Hence the feature is not there yet?