package/sdl_sound: actually use the optional CONF_OPTS
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Sun, 27 Jan 2019 18:59:37 +0000 (16:59 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 27 Jan 2019 21:15:55 +0000 (22:15 +0100)
commitdf0d7d1371d2916bf9b48968f0a2dcd471ea6d85
tree73dd2e64ddd5d24d380c9f958d716d1bf0623bdd
parent30ff614a035dd49e357f7c3560555dae8e605f80
package/sdl_sound: actually use the optional CONF_OPTS

Since "57ace26b6c package/sdl_sound: add optional support for
libmodplug" from 2016, optional CONF_OPTS are added but they do not
really take effect because there is an unconditional override below the
conditional append.

Currently this does not cause build failures, but it can lead to wrong
detection of dependencies because many explicit --enable/--disable are
not passed to configure.

Fix this by moving the unconditional code to the top.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sdl_sound/sdl_sound.mk