mirror of
https://github.com/libusb/libusb.git
synced 2025-05-31 15:47:40 +00:00

Building libusb from another build directory doesn't properly work right now, as calling autogen.sh from there won't work. An example is when using jhbuild to build it. So always use absolute paths to call configure and bootstrap scripts Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
10 lines
181 B
Bash
Executable file
10 lines
181 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
srcdir="$(dirname "$0")"
|
|
|
|
"$srcdir"/bootstrap.sh
|
|
if [ -z "$NOCONFIGURE" ]; then
|
|
exec "$srcdir"/configure --enable-examples-build --enable-tests-build "$@"
|
|
fi
|