Skip to content

Commit

Permalink
fix Android build failure introduced in #433
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Jun 19, 2016
1 parent 3ddf2bb commit 3d83411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/gettext/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ep_get_binary_dir(BINARY_DIR)

set(CFG_ENV_VAR "CC=\"${CC}\"")
if(${IS_ANDROID})
set(CFG_ENV_VAR "${CFG_ENV_VAR} && LDFLAGS=-lc")
set(CFG_ENV_VAR "${CFG_ENV_VAR} LDFLAGS=-lc")
endif()
set(CFG_OPTS "--with-threads=none --prefix=${BINARY_DIR} --with-libiconv-prefix=${LIBICONV_PREFIX} --enable-shared=false --enable-static=true ${CHOST_OPTS}")
set(CFG_CMD sh -c "${CFG_ENV_VAR} ${SOURCE_DIR}/configure ${CFG_OPTS}")
Expand Down

0 comments on commit 3d83411

Please sign in to comment.