* 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.
diff --git a/ChangeLog b/ChangeLog
index 6a8d58c..500014d 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 74def95..c49cd26 100755
--- a/ltconfig.in
+++ b/ltconfig.in
@@ -1086,7 +1086,8 @@
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'