aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-08-02 13:57:33 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-08-02 13:57:33 +0300
commitb9e765d06fc5afdd31e2786fafbc32c9f7ce4c37 (patch)
treeab317e74eaf4bed6d33624887d60cb104ce0a3f3 /build
parent9355caf367a5fa8b2658dc09120a181e17e88646 (diff)
downloadydb-b9e765d06fc5afdd31e2786fafbc32c9f7ce4c37.tar.gz
move PERL_DEFAULT_PEERDIR trigger to build/conf/perl.conf
Diffstat (limited to 'build')
-rw-r--r--build/conf/perl.conf7
-rw-r--r--build/ymake.core.conf7
2 files changed, 7 insertions, 7 deletions
diff --git a/build/conf/perl.conf b/build/conf/perl.conf
index 20b4d34a10..681f60fc0b 100644
--- a/build/conf/perl.conf
+++ b/build/conf/perl.conf
@@ -58,7 +58,14 @@ when ($USE_PERL_SYSTEM == "yes") {
# so default Perl module directories should be prepended to perl command lines when using non-local perl.
PERL_INCLUDE=-I${PERL_ARCHLIB} -I${PERL_PRIVLIB}
}
+
+# tag:perl-specific
PERL_DEFAULT_PEERDIR=yes
+when ($PERL_DEFAULT_PEERDIR == "yes") {
+ when (($PERLXS == "yes") || ($PERLXSCPP == "yes") || ($USE_PERL == "yes")) {
+ PEERDIR+=build/platform/perl
+ }
+}
# tag:perl-specific
PERLSUFFIX=-csuffix .cpp
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 232285aa4e..c5a48a78e6 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -3018,13 +3018,6 @@ multimodule SANDBOX_PY3_TASK {
}
}
-# tag:python-specific
-when ($PERL_DEFAULT_PEERDIR == "yes") {
- when (($PERLXS == "yes") || ($PERLXSCPP == "yes") || ($USE_PERL == "yes")) {
- PEERDIR+=build/platform/perl
- }
-}
-
# tag:allocator
### @usage: ALLOCATOR(Alloc) # Default: LF
###