We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8257a53 commit 7d2dad2Copy full SHA for 7d2dad2
libpsl.sh
@@ -28,12 +28,13 @@ _VER="$1"
28
mkdir -p "${_BLDDIR}"
29
(
30
cd "${_BLDDIR}"
31
- # shellcheck disable=SC2046,SC2086
+ # shellcheck disable=SC2086
32
+ find ../src -name '*.c' -print0 | sort -z | xargs -0 -r \
33
${_CC_GLOBAL} ${_CFLAGS_GLOBAL} ${_CFLAGS_GLOBAL_RAW} ${_CPPFLAGS_GLOBAL} \
34
-DENABLE_BUILTIN -DPACKAGE_VERSION="\"${LIBPSL_VER_}\"" \
- -I. -I.. -I../include -c $(find ../src -name '*.c' | sort)
35
- # shellcheck disable=SC2046
36
- "${AR}" rcs libpsl.a $(find . -name '*.o' | sort)
+ -I. -I.. -I../include -c --
+ find . -name '*.o' -print0 | sort -z | xargs -0 -r \
37
+ "${AR}" rcs libpsl.a
38
)
39
40
# Install manually
0 commit comments