Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit feefeb4f authored by Adam Lesinski's avatar Adam Lesinski
Browse files

AAPT2 statically link libz on Windows builds

Change-Id: I2abf47273173c470c04e00a54aa619fe1ce0e745
parent ca2fc353
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -70,8 +70,8 @@ testSources := \
	XmlFlattener_test.cpp

cIncludes :=
hostLdLibs :=

hostLdLibs := -lz
hostStaticLibs := \
	libandroidfw \
	libutils \
@@ -80,6 +80,12 @@ hostStaticLibs := \
	libexpat \
	libziparchive-host

ifneq ($(strip $(USE_MINGW)),)
	hostStaticLibs += libz
else
	hostLdLibs += -lz
endif

cFlags := -Wall -Werror -Wno-unused-parameter -UNDEBUG
cppFlags := -std=c++11 -Wno-missing-field-initializers