mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-07-06 03:21:15 +00:00
![Tad](/assets/img/avatar_default.png)
causes many bizarre issues on devices - apps crashing on certain functions - apps loading content from other apps - etc. Signed-off-by: Tad <tad@spotco.us>
25 lines
758 B
Diff
25 lines
758 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: syphyr <syphyr@gmail.com>
|
|
Date: Sat, 2 Sep 2023 20:45:26 +0200
|
|
Subject: [PATCH] Enable png and zlib support to Android.mk
|
|
|
|
lineage-18.1 branch requires these changes since it is commented
|
|
out now in include/freetype/config/ftoption.h
|
|
---
|
|
Android.mk | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/Android.mk b/Android.mk
|
|
index 1661e506a..a4f49f825 100644
|
|
--- a/Android.mk
|
|
+++ b/Android.mk
|
|
@@ -48,6 +48,8 @@ LOCAL_CFLAGS += -W -Wall
|
|
LOCAL_CFLAGS += -fPIC -DPIC
|
|
LOCAL_CFLAGS += "-DDARWIN_NO_CARBON"
|
|
LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY"
|
|
+LOCAL_CFLAGS += "-DFT_CONFIG_OPTION_USE_PNG"
|
|
+LOCAL_CFLAGS += "-DFT_CONFIG_OPTION_USE_ZLIB"
|
|
|
|
LOCAL_SHARED_LIBRARIES += libpng libz
|
|
|