My Makfile
is using libtool
in order to create some apache modules.
Unfortunately I need my makefile to work on a VMWare shared forlder (hgfs
), which does not support any kind of links (symbolic or hard links).
Can I use libtool
and have it use cp
instead of ln -s
, WITHOUT patching the LN_ST
variable in the script, and thus breaking libtool
for the rest of the system while preventing future upgrades to libtool
?
http://www.sourceware.org/autobook/autobook/autobook_220.html
ln
Not all systems support soft links. You should use the Autoconf macro `AC_PROG_LN_S' to discover what the target architecture supports, and assign the result of that test to a variable. Whenever you subsequently need to create a link you can use the command stored in the variable to do so.
LN_S=@LN_S@ ... $LN_S $top_srcdir/foo $dist_dir/foo
Also, you cannot rely on support for the `-f' option from all implementations of ln. Use rm before calling ln instead.