projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a7652c
)
Don't use getcwd in non-copy builds.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 15 Feb 2014 19:48:05 +0000
(19:48 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 15 Feb 2014 20:16:54 +0000
(20:16 +0000)
util/mk1mf.pl
patch
|
blob
|
history
diff --git
a/util/mk1mf.pl
b/util/mk1mf.pl
index 94691df98a1a03b3503962704ad13971ba67826a..90ae84b2f6ec436dc7daa8a7c9844ed5a4007825 100755
(executable)
--- a/
util/mk1mf.pl
+++ b/
util/mk1mf.pl
@@
-192,7
+192,7
@@
$mkdir="-mkdir" unless defined $mkdir;
$ranlib="echo ranlib";
$cc=(defined($VARS{'CC'}))?$VARS{'CC'}:'cc';
-$src_dir=(defined($VARS{'SRC'}))?$VARS{'SRC'}:
getcwd()
;
+$src_dir=(defined($VARS{'SRC'}))?$VARS{'SRC'}:
$platform eq 'copy' ? getcwd() : '.'
;
$bin_dir=(defined($VARS{'BIN'}))?$VARS{'BIN'}:'';
# $bin_dir.=$o causes a core dump on my sparc :-(