[Feature][ZXW-452]merge P54U02 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/ap/lib/libpng/makefile b/ap/lib/libpng/makefile
index 5781347..7f55e87 100755
--- a/ap/lib/libpng/makefile
+++ b/ap/lib/libpng/makefile
@@ -9,11 +9,8 @@
 
 CONFIG_OPTS = --target=arm-linux --host=arm-linux
 CONFIG_OPTS += --enable-static
-ifeq ($(CONFIG_LIBCURL_SHARE_LIB), y)
-CONFIG_OPTS += --enable-shared
-else
 CONFIG_OPTS += --disable-shared
-endif
+
 export ZLIBINC=$(LIB_DIR)/zlib/install/include
 export ZLIBLIB=$(LIB_DIR)/zlib/install/lib
 export CFLAGS += -I$(ZLIBINC)