The link flags are put before the archive in the command line, causing the link flags to be ignored by the linker (at least for GCC).
With at least FPM 0.10.0 and 0.10.1, regardless of operating system (Linux and Windows tried), and using Ffilesystem project (probably any project has this issue):
Description
The link flags are put before the archive in the command line, causing the link flags to be ignored by the linker (at least for GCC).
With at least FPM 0.10.0 and 0.10.1, regardless of operating system (Linux and Windows tried), and using Ffilesystem project (probably any project has this issue):
by either:
or
results in command:
Windows:
Linux:
Expected Behaviour
I expect the link flag "-lm" (or say -lUserenv for Windows) to be AFTER the object file or archive, otherwise the linker ignores the link flag
Version of fpm
0.10.1, 0.10.0
Platform and Architecture
at least Linux, Windows
Additional Information
No response