URL:
  <http://gna.org/bugs/?19937>

                 Summary: Makefile dependencies to lua & tolua wrong
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 14 Jul 2012 03:54:20 AM EEST
                Category: bootstrap
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

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:

  <http://gna.org/bugs/?19937>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to