shithub: sox

Download patch

ref: cbd2f99d69a5bac3f84a75959d21ce36d60496c4
parent: f7e3b7d8c96e749df08bbb06ce887770df100ce8
author: rrt <rrt>
date: Mon Jan 15 09:30:23 EST 2007

Fix play and rec in the build tree (thanks to robs for necessary info)

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -40,8 +40,9 @@
 libgsm/libgsm.la:
 	$(MAKE) -C libgsm
 
-play rec: sox
-	$(RM) $@ && $(LN_S) sox $@
+play rec: sox .libs/lt-sox
+	ln -sf .libs/lt-sox rec
+	ln -sf .libs/lt-sox play
 
 install-exec-hook:
 	cd $(DESTDIR)$(bindir) && $(RM) play && $(LN_S) sox play