commit b5f279a
hovercats
·
2024-05-25 03:10:01 +0000 UTC
parent 4743182
perl: fix build without bzip and zlib
1 files changed,
+3,
-3
+3,
-3
1@@ -1,7 +1,5 @@
2 #!/bin/sh -e
3
4-export BUILD_ZLIB=0
5-export BUILD_BZIP2=0
6 export LDFLAGS="$LDFLAGS -pthread"
7 export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"
8
9@@ -27,7 +25,9 @@ export CFLAGS="$CFLAGS -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE"
10 -Dman1ext=1 \
11 -Dman3ext=3pm \
12 -Dperl_static_inline="static __inline__" \
13- -Dd_static_inline
14+ -Dd_static_inline \
15+ -DNO_ZLIB \
16+ -DNO_BZLIB
17
18 make
19 make DESTDIR="$1" install.perl