shithub: sox

Download patch

ref: aef2508b542d9be61f461e814887790fd60ddc3e
parent: 3f544b8a5f32f0710c26636e29cd5f35466ae514
author: Mans Rullgard <mans@mansr.com>
date: Thu Aug 13 12:49:18 EDT 2020

build: drop SUN_AUDIO_LIBS variable

The sunaudio device does not use any libraries, and the variable is
never set.  Drop it entirely.

--- a/src/optional-fmts.am
+++ b/src/optional-fmts.am
@@ -211,14 +211,9 @@
 if HAVE_SUN_AUDIO
 if STATIC_SUN_AUDIO
   libsox_la_SOURCES += sunaudio.c
-if STATIC_LIBSOX_ONLY
-  sox_LDADD += @SUN_AUDIO_LIBS@
 else
-  libsox_la_LIBADD += @SUN_AUDIO_LIBS@
-endif
-else
   libsox_fmt_sunau_la_SOURCES = sunaudio.c
-  libsox_fmt_sunau_la_LIBADD = libsox.la @SUN_AUDIO_LIBS@
+  libsox_fmt_sunau_la_LIBADD = libsox.la
   pkglib_LTLIBRARIES += libsox_fmt_sunau.la
 endif
 endif