ref: 7b8a3cdbb141b2131731faace46bbeb2f89ec24c
parent: f2805e27d83fd204cf41486c5c2080b72484e0f3
author: rrt <rrt>
date: Fri Jan 26 18:29:47 EST 2007
Make play and rec symlinks work on Windows
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -40,7 +40,7 @@
play rec: sox$(EXEEXT)
./sox --help > /dev/null
- $(RM) $@ && $(LN_S) .libs/lt-sox $@
+ test -e .libs/lt-sox && ( $(RM) $@ && $(LN_S) .libs/lt-sox $@ ) || $(LN_S) sox$(EXEEXT) $@
install-exec-hook:
cd $(DESTDIR)$(bindir) && $(RM) play && $(LN_S) sox play