summaryrefslogtreecommitdiffstats
path: root/audio-libs/portaudio/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/portaudio/BUILD')
-rwxr-xr-xaudio-libs/portaudio/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio-libs/portaudio/BUILD b/audio-libs/portaudio/BUILD
new file mode 100755
index 0000000000..05fb3adf75
--- /dev/null
+++ b/audio-libs/portaudio/BUILD
@@ -0,0 +1,5 @@
+sedit "s:/usr/local:${INSTALL_ROOT}/usr:" Makefile.linux &&
+# dependent apps should be able to link without specifying -lpthread
+sedit 's:gcc -shared -o:gcc -shared $(LIBS) -o:' Makefile.linux &&
+sedit 's:CFLAGS = :CFLAGS = -fPIC :' Makefile.linux &&
+make -f Makefile.linux sharedlib