aclocal.m4: fix compiles on systems that don't support ln -s
Austin English
austinenglish at gmail.com
Tue Oct 18 18:15:23 CDT 2011
Based on a patch by Vijay Kiran Kamuju.
See also: http://www.winehq.org/pipermail/wine-patches/2011-October/107500.html
--
-Austin
-------------- next part --------------
diff --git a/aclocal.m4 b/aclocal.m4
index 41274ad..d6a27f5 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -400,7 +400,7 @@ $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
- \$(RM) \$[@] && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$[@]
+ \$(RM) \$[@] && \$(LN_S) dlls/$ac_name/lib$ac_implib.$IMPLIBEXT \$[@]
clean::
\$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
if test "x$CROSSTEST_DISABLE" = x
@@ -408,7 +408,7 @@ clean::
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: dlls/lib$ac_implib.cross.a
dlls/lib$ac_implib.cross.a: $ac_file.cross.a
- \$(RM) \$[@] && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$[@]"
+ \$(RM) \$[@] && \$(LN_S) dlls/$ac_name/lib$ac_implib.cross.a \$[@]"
fi
fi
fi
More information about the wine-patches
mailing list