The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7 lines
199 B

#!/bin/sh -eu
libdir="${MESON_INSTALL_PREFIX}/lib"
mkdir -p $libdir
sdlfile=`ldd ${MESON_INSTALL_PREFIX}/bin/myapp | grep libSDL | cut -d ' ' -f 3`
cp $sdlfile "${libdir}"
strip "${libdir}/libSDL"*