Created attachment 18529 [details]
Patch to fix -export-dynamic typos.
When trying to build slurm with slibtool (https://dev.midipix.org/cross/slibtool) it fails for multiple reasons.
One of the reasons is that the build system has --export-dynamic everywhere when it should be -export-dynamic. GNU libtool does not expose this problem because it silently filters out the typo.
Unfortunately this is not the only problem exposed with slibtool, but I do not have fixes for the others yet. I will make new issues for those if and when I solve them.
From the slibtool --help:
-export-dynamic allow symbols in the output file to be resolved
via dlsym() [currently a no-op]