Fail the build unless libSDL is installed.
PATCH 2/5 Fail the build unless libSDL is installed.
Fail the build unless libSDL is installed.
Signed-off-by Arun Sharma <[email protected]>
tools/check/check_sdl_lib new file +10 -0
@@ -0,0 +1,10 @@ +#!/bin/bash +# CHECK-BUILD CHECK-INSTALL + +function error { + echo 'Check for SDL library failed.' + exit 1 +} + +set -e +ldconfig -p | grep libSDL-.*so || error
Quoted 3 lines · Arun Sharma
Fail the build unless libSDL is installed.
Signed-off-by Arun Sharma <[email protected]>
Display a warning, and don't build the device model, if there's no libsdl. Many people won't have libsdl but also don't care about the vmx device models.
-- Keir