From 121f35d8df4c11749ddf2e9172f95ec5fcc6b056 Mon Sep 17 00:00:00 2001 From: Shoichi Kaji Date: Sat, 5 Oct 2024 10:33:18 +0900 Subject: [PATCH] do not link libcrypt --- build/relocatable-perl-build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/relocatable-perl-build b/build/relocatable-perl-build index 76cc588..83dc220 100644 --- a/build/relocatable-perl-build +++ b/build/relocatable-perl-build @@ -132,9 +132,9 @@ sub perl_build { # see https://github.com/agracio/electron-edge-js/issues/16 push @Configure, "-Ui_xlocale"; - # RHEL8, Fedora28, CentOS8 does not have libnsl.so.1 by default; - # remove -lnsl - push @Configure, "-Dlibs=-lpthread -ldl -lm -lcrypt -lutil -lc"; + # RHEL8, Fedora28, CentOS8 does not have libnsl.so.1 by default; remove -lnsl + # RHEL9, RockyLinux9 does not have libcrypt.so.1 by default; remove -lcrypt + push @Configure, "-Dlibs=-lpthread -ldl -lm -lutil -lc"; my $arch = (uname)[4]; my @libpth = (