rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
http://www.darkice.org
200 stars 47 forks source link

[Patch] Add lame and faac support on Raspberry Pi #123

Closed DanielEckl closed 4 years ago

DanielEckl commented 7 years ago

Problem: Configure doesn't find libmp3lame and libfaac on arm-linux-gnueabihf

Proposal: Add this architecture to the search path list

diff --git a/darkice/trunk/acinclude.m4 b/darkice/trunk/acinclude.m4
index dc3e16f..01632f7 100644
--- a/darkice/trunk/acinclude.m4
+++ b/darkice/trunk/acinclude.m4
@@ -43,7 +43,7 @@ dnl  by Florian Bomers
 dnl-----------------------------------------------------------------------------
 AC_DEFUN([LA_SEARCH_LIB],[
   dnl look for lib
-  LA_SEARCH_FILE($1, $3, $5 $5/lib64 $5/lib $5/lib/x86_64-linux-gnu )
+  LA_SEARCH_FILE($1, $3, $5 $5/lib64 $5/lib $5/lib/x86_64-linux-gnu $5/lib/arm-linux-gnueabihf )
   dnl look for header.
   LA_SEARCH_FILE($2, $4, $5 $5/include )
   if test ".$1" = "." || test ".$2" = "."; then
rafael2k commented 4 years ago

tks, commited.