When trying to build bitstormlite with the linker option --as-needed, the package fails to build:
An explanation can be found at http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
Attached patch moves libraries to LDADD instead of LDFLAGS. (LDFLAGS should never be used for libraries, it's a common error)
Log in to post a comment.