mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
16 lines
344 B
Bash
16 lines
344 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This script sets up the LD_PRELOAD environment to use
|
||
|
# libdisable-npots.la
|
||
|
|
||
|
# Read the .la file so we can get the library name
|
||
|
. "--builddir--/tests/tools/libdisable-npots.la"
|
||
|
|
||
|
if test -n "$LD_PRELOAD"; then
|
||
|
LD_PRELOAD="${LD_PRELOAD}:";
|
||
|
fi
|
||
|
|
||
|
export LD_PRELOAD="${LD_PRELOAD}--builddir--/tests/tools/.libs/${dlname}"
|
||
|
|
||
|
exec "$@"
|