diff options
author | lvqcl <lvqcl.mail@gmail.com> | 2018-08-25 16:59:21 +0300 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2018-08-26 07:58:50 +1000 |
commit | 0897458f59cd894f9bf1103e3a038deda44174b7 (patch) | |
tree | dab5ede99587b2394ff992d15c857140c4d9474c /src/test_grabbag | |
parent | edfbe3cf194768af2f4c3cfd5cb5a6a273f63964 (diff) | |
download | flac-0897458f59cd894f9bf1103e3a038deda44174b7.tar.gz |
Update MinGW build files
Diffstat (limited to 'src/test_grabbag')
-rw-r--r-- | src/test_grabbag/picture/Makefile.am | 7 | ||||
-rw-r--r-- | src/test_grabbag/picture/Makefile.lite | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/test_grabbag/picture/Makefile.am b/src/test_grabbag/picture/Makefile.am index 0ee04a41..394b6eb0 100644 --- a/src/test_grabbag/picture/Makefile.am +++ b/src/test_grabbag/picture/Makefile.am @@ -27,9 +27,14 @@ check_PROGRAMS = test_picture test_picture_SOURCES = \ main.c +if OS_IS_WINDOWS +win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la +endif + test_picture_LDADD = \ $(top_builddir)/src/share/grabbag/libgrabbag.la \ $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \ - $(top_builddir)/src/libFLAC/libFLAC.la + $(top_builddir)/src/libFLAC/libFLAC.la \ + $(win_utf8_lib) CLEANFILES = test_picture.exe diff --git a/src/test_grabbag/picture/Makefile.lite b/src/test_grabbag/picture/Makefile.lite index 91c03dae..2844923e 100644 --- a/src/test_grabbag/picture/Makefile.lite +++ b/src/test_grabbag/picture/Makefile.lite @@ -32,8 +32,12 @@ INCLUDES = -I./include -I$(topdir)/include ifeq ($(OS),Darwin) EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libFLAC.a $(OGG_EXPLICIT_LIBS) -lm else +ifeq ($(findstring Windows,$(OS)),Windows) + LIBS = -lgrabbag -lreplaygain_analysis -lFLAC -lwin_utf8_io $(OGG_LIBS) -lm +else LIBS = -lgrabbag -lreplaygain_analysis -lFLAC $(OGG_LIBS) -lm endif +endif SRCS_C = \ main.c |