src/share/Makefile.am : Rejig building of win_utf8_io/libwin_utf8_io.la.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 7 Apr 2013 07:48:06 +0000 (17:48 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 7 Apr 2013 08:08:18 +0000 (18:08 +1000)
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 <michael.guntsche@it-loops.com>.

src/share/Makefile.am

index bb66122..d9521ce 100644 (file)
@@ -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