openscad-step-reader icon indicating copy to clipboard operation
openscad-step-reader copied to clipboard

Fix correct placement of libraries in the linker command line.

Open udif opened this issue 2 years ago • 2 comments

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

udif avatar Mar 01 '22 17:03 udif