mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
configure: test for zlib only w/--enable-experimental
Only builds with --enable-experimental require zlib currently. A base install of mingw will not include the development headers and library. libwebp itself will now build in such environments. Additionally, remove -lz from **/Makefile.am, -lz will be added to LIBS by AC_CHECK_LIB when necessary. Change-Id: Iae8319cdf00162ecb7ed44661c02f40beb34f155
This commit is contained in:
@ -4,8 +4,8 @@ bin_PROGRAMS = dwebp cwebp
|
||||
|
||||
dwebp_SOURCES = dwebp.c stopwatch.h
|
||||
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(PNG_INCLUDES) $(JPEG_INCLUDES) $(USE_EXPERIMENTAL_CODE)
|
||||
dwebp_LDADD = ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS) -lz
|
||||
dwebp_LDADD = ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS)
|
||||
|
||||
cwebp_SOURCES = cwebp.c stopwatch.h
|
||||
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(PNG_INCLUDES) $(JPEG_INCLUDES) $(USE_EXPERIMENTAL_CODE)
|
||||
cwebp_LDADD = ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS) -lz
|
||||
cwebp_LDADD = ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS)
|
||||
|
Reference in New Issue
Block a user