Restore correct wx-config creation and work around MinGW lack of symlinks.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Sep 2013 00:14:42 +0000 (00:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Sep 2013 00:14:42 +0000 (00:14 +0000)
commit588135982a942852c995b56f9a4001821d4566ad
treedec4e25696c3facc0f29613b3c32a3b97e78a4e9
parentd9106ec5b679d5c9a5eb61b9633e5f3b1437b6a8
Restore correct wx-config creation and work around MinGW lack of symlinks.

This undoes the changes of r72205 and r72249 (see #14517) as using relative
paths for wx-config symlink didn't work correctly if non-default values for
$bindir and/or $libdir were used (i.e. if they were not siblings).

Instead, fix the original problem of lack of symlinks when using MinGW
directly: just use "cp -p" if "ln -s" fails. This should work everywhere and
do the right thing.

Closes #15463.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Makefile.in
build/bakefiles/wx.bkl