openscad-step-reader
openscad-step-reader copied to clipboard
Fix correct placement of libraries in the linker command line.
The original Makefile used LDFLAGS to specify link linbaries. This caused the libraries to be specified BEFORE the object files referencing them, causing link failures. By using LDLIBS, all the libraries are specified AFTER the object files, correcting the issue.
Tested on Ubuntu 20.04 LTS