diff options
author | Eugene Sandulenko | 2017-08-13 12:57:32 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-13 12:57:32 +0200 |
commit | 933d634c32c3ed3470a082b6d3560e737ef250b1 (patch) | |
tree | b2da87245000bfce79c7629a625eca533e50f0c4 /configure | |
parent | 17625a640380fe9cee4b8ecda0cabf037cdffa3e (diff) | |
download | scummvm-rg350-933d634c32c3ed3470a082b6d3560e737ef250b1.tar.gz scummvm-rg350-933d634c32c3ed3470a082b6d3560e737ef250b1.tar.bz2 scummvm-rg350-933d634c32c3ed3470a082b6d3560e737ef250b1.zip |
CONFIGURE: An (unsuccessful) attempt to add library dependencies to the tools
For some reason I cannot figure out how to enforce proper variable creation
in a generic way. I'll keep reading the docs but maybe someone else could
figure it out earlier
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4132,7 +4132,8 @@ EOF cc_check $ZLIB_CFLAGS $ZLIB_LIBS -lz && _zlib=yes fi if test "$_zlib" = yes ; then - append_var LIBS "$ZLIB_LIBS -lz" + append_var ZLIB_LIBS "-lz" + append_var LIBS "$ZLIB_LIBS" append_var INCLUDES "$ZLIB_CFLAGS" fi define_in_config_if_yes "$_zlib" 'USE_ZLIB' @@ -5193,6 +5194,8 @@ EXEPRE := $HOSTEXEPRE EXEEXT := $HOSTEXEEXT NASM := $NASM NASMFLAGS := $NASMFLAGS +ZLIB_LIBS := $ZLIB_LIBS +ZLIB_CFLAGS := $ZLIB_CFLAGS prefix = $prefix exec_prefix = $exec_prefix |