Martchus
5411a9d1fd
* Use an older glibc so resulting binaries can run on older systems (without having to link statically against glibc) * Call packages static-compat-* to make it clear that these packages are intended for compatibility with older distributions * Add further libraries to get static-compat-qt6-base and some other static-compat-qt6-* packages building
20 lines
423 B
Bash
20 lines
423 B
Bash
#!/bin/sh
|
|
|
|
# check if last arg is a path to configure, else use parent
|
|
for last; do true; done
|
|
if test -x "${last}/configure"; then
|
|
config_path="$last"
|
|
elif [[ -e ./configure ]]; then
|
|
config_path=.
|
|
else
|
|
config_path=..
|
|
fi
|
|
|
|
source static-compat-environment
|
|
|
|
${config_path}/configure \
|
|
--prefix="$static_compat_prefix" \
|
|
--libdir="$static_compat_prefix/lib" \
|
|
--includedir="$static_compat_prefix/include" \
|
|
"$@"
|