projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e200fe5
)
Make _really_ sure Dynaloader.xs code is initialized only once
author
Jan Dubois
<jand@activestate.com>
Wed, 21 Oct 1998 00:55:51 +0000
(
02:55
+0200)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sun, 25 Oct 1998 06:50:19 +0000
(06:50 +0000)
Message-ID: <
36380269
.
55370608
@smtp1.ibm.net>
p4raw-id: //depot/perl@2067
ext/DynaLoader/DynaLoader_pm.PL
patch
|
blob
|
history
diff --git
a/ext/DynaLoader/DynaLoader_pm.PL
b/ext/DynaLoader/DynaLoader_pm.PL
index
4c41559
..
cf7d708
100644
(file)
--- a/
ext/DynaLoader/DynaLoader_pm.PL
+++ b/
ext/DynaLoader/DynaLoader_pm.PL
@@
-101,7
+101,8
@@
push(@dl_library_path, split(/:/, $ENV{LD_LIBRARY_PATH}))
# No prizes for guessing why we don't say 'bootstrap DynaLoader;' here.
-boot_DynaLoader('DynaLoader') if defined(&boot_DynaLoader);
+boot_DynaLoader('DynaLoader') if defined(&boot_DynaLoader) &&
+ !defined(&dl_load_file);
if ($dl_debug) {