initial commit
This commit is contained in:
8
script/linux_bundler.sh
Executable file
8
script/linux_bundler.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
libdir="${MESON_INSTALL_PREFIX}/lib"
|
||||
mkdir -p $libdir
|
||||
|
||||
libfile=`ldd ${MESON_INSTALL_PREFIX}/bin/sernatur | grep libpq | cut -d ' ' -f 3`
|
||||
cp $libfile "${libdir}"
|
||||
strip "${libdir}/libpq"*
|
2
script/meson.build
Normal file
2
script/meson.build
Normal file
@@ -0,0 +1,2 @@
|
||||
install_data('sernatur.sh', install_dir: '.')
|
||||
meson.add_install_script('linux_bundler.sh')
|
6
script/sernatur.sh
Executable file
6
script/sernatur.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "${0%/*}"
|
||||
|
||||
export LD_LIBRARY_PATH="`pwd`/lib"
|
||||
bin/sernatur
|
Reference in New Issue
Block a user