diff options
Diffstat (limited to 'init.cfg')
-rw-r--r-- | init.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -466,6 +466,15 @@ require_sparse_support_() fi } +# There are a myriad of ways to build shared libs, +# so we only consider running tests requiring shared libs, +# on platforms that support building them as follows. +require_gcc_shared_() +{ + $CC -shared -fPIC -O2 -xc -o d.so -ldl - < /dev/null 2>&1 \ + || skip_ '$CC -shared ... failed to build a shared lib' +} + mkfifo_or_skip_() { test $# = 1 || framework_failure_ |