From d6219e8bb1f15b188f2e35a8b0d737dbdb7d4ede Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sun, 7 Apr 2013 17:48:06 +1000 Subject: [PATCH] src/share/Makefile.am : Rejig building of win_utf8_io/libwin_utf8_io.la. This should avoid a build error on Mac OSX where it the Mac build tools refused to build an empty library. Problem reported by Michael Guntsche . --- src/share/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/share/Makefile.am b/src/share/Makefile.am index bb66122c..d9521ce2 100644 --- a/src/share/Makefile.am +++ b/src/share/Makefile.am @@ -45,15 +45,17 @@ noinst_LTLIBRARIES = \ getopt/libgetopt.la \ grabbag/libgrabbag.la \ utf8/libutf8.la \ - win_utf8_io/libwin_utf8_io.la \ + $(libwin_utf8_io) \ replaygain_analysis/libreplaygain_analysis.la \ replaygain_synthesis/libreplaygain_synthesis.la if OS_IS_WINDOWS win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c +libwin_utf8_io = win_utf8_io/libwin_utf8_io.la else win_utf8_io_libwin_utf8_io_la_SOURCES = +libwin_utf8_io = endif