[genproj] Fix bashism in library.make
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 15 Feb 2016 14:02:13 +0000 (15:02 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 15 Feb 2016 14:02:13 +0000 (15:02 +0100)
commit4b041deabaf486ffbce222922ec7021f892894dd
treeba2334931a7fd6425af714db9c5549669909d0c0
parent0093dcb9fb3fc57e83db2a72beda319f7da8ed9f
[genproj] Fix bashism in library.make

This was added in 2687866e99a0bb6669dc61b84393bc3ec5de3fc6, but on systems where /bin/sh (which make uses by default) isn't bash this doesn't work.

Fix is to use a standard switch-case which works in all shells.
mcs/build/library.make