summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>1999-03-17 14:52:38 +0000
committerGary V. Vaughan <gary@gnu.org>1999-03-17 14:52:38 +0000
commit9b51a17e292d87c70dc29b5a903d1c699dff599a (patch)
tree1e00ed032fe958914781bc5dbfa381979988dfa4
parentc966fc79f4c89c195e63ee56969ab308fac77417 (diff)
downloadlibtool-9b51a17e292d87c70dc29b5a903d1c699dff599a.tar.gz
* ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
not exist -- i.e. we need to generate import an import library in a directory which has no libs of its own.
-rw-r--r--ChangeLog6
-rwxr-xr-xltconfig.in3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a8d58c3..500014d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-03-16 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
+
+ * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
+ not exist -- i.e. we need to generate import an import library
+ in a directory which has no libs of its own.
+
1999-03-16 Thomas Tanner <tanner@gmx.de>
* updated
diff --git a/ltconfig.in b/ltconfig.in
index 74def959..c49cd26d 100755
--- a/ltconfig.in
+++ b/ltconfig.in
@@ -1086,7 +1086,8 @@ EOF
allow_undefined_flag=unsupported
always_export_symbols=yes
- extract_expsyms_cmds='test -f $objdir/impgen.c || \
+ extract_expsyms_cmds='test -d $objdir || mkdir -p $objdir~
+ test -f $objdir/impgen.c || \
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //; p; }" -e d < $0 > $objdir/impgen.c~
test -f $objdir/impgen.exe || (cd $objdir && $CC -o impgen impgen.c)~
$objdir/impgen $dir/$soname > $objdir/$soname-def'