]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Config.pm
lei_curl: improve correctness of LD_PRELOAD check
[public-inbox.git] / lib / PublicInbox / Config.pm
index 016f50eca3a8428237f3bb0813e214199783c43d..3f0f5a0195d76e1d77e03f3e33f87342d59e92c9 100644 (file)
@@ -12,6 +12,7 @@ use strict;
 use v5.10.1;
 use PublicInbox::Inbox;
 use PublicInbox::Spawn qw(popen_rd);
+our $LD_PRELOAD = $ENV{LD_PRELOAD}; # only valid at startup
 
 sub _array ($) { ref($_[0]) eq 'ARRAY' ? $_[0] : [ $_[0] ] }