Summary: Makefile dependencies to lua & tolua wrong
Submitted by: cazfi
Submitted on: Sat 14 Jul 2012 03:54:20 AM EEST
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
While doing shared libraries build, I got linker error about freeciv-modpack.
It links static lua library in, but no "-lm" that it requires.
Well, modpack utility should not (directly) link against lua at all as it's
not using it. Currently it has even tolua dependency, meaning it gets rebuilt
when something in tolua tool changes.
At the same time common/scripting/, or even common/, has no lua dependencies
or linkage at all. It's left to each component linking against libscriptcore
-> libfreeciv to link also against liblua.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list