#239 Multi-OS configuration filter is broken

4.4
closed
starkos
None
7
2012-09-11
2012-01-26
No

Bug could be easily seen right in Premake project itself.

configuration { "linux", "bsd", "macosx" }
linkoptions { "-rdynamic" }

In Makefile -rdynamic is missing. Quick debugging shows that cfg.linkoptions is empty table.

If I write

configuration "linux"
linkoptions { "-rdynamic" }

it works fine (I'm testing on Linux). However, changing this to

configuration { "linux", "bsd" }
linkoptions { "-rdynamic" }

triggers bug again.

Discussion

    • priority: 5 --> 7
     
  • starkos
    starkos
    2012-07-05

    • assigned_to: nobody --> starkos
    • status: open --> pending
     
  • starkos
    starkos
    2012-07-05

    I think you wanted:

    configuration { "linux or bsd or macosx" }

    As written, there is an implicit AND between the terms.

     
  • starkos
    starkos
    2012-09-11

    • status: pending --> closed