aboutsummaryrefslogtreecommitdiffstats
path: root/meson/manual tests/4 standalone binaries/linux_bundler.sh
blob: 2a8e907fee5137dbfc344f3720c4bff191013fec (plain)
1
2
3
4
5
6
7
#!/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"*