- The 'gifutil' library has been added for deprecated 'GifQuantizeBuffer' function.
It should be removed since giflib 5.2.0.
Change-Id: I263e3fa3cb4ae8622c70b16f4799f83429602141
aux_source_directory(. SOURCES)
ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
+# 2020.02.04 gifutil has been added for deprecated 'GifQuantizeBuffer'
+# It should be removed since giflib 5.2.0.
+FIND_LIBRARY(HAS_GIFUTIL_LIBRARY NAMES gifutil)
+IF(HAS_GIFUTIL_LIBRARY)
+TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS} gif gifutil mmutil_common)
+ELSE(HAS_GIFUTIL_LIBRARY)
TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS} gif mmutil_common)
+ENDIF(HAS_GIFUTIL_LIBRARY)
SET_TARGET_PROPERTIES(${fw_name}
PROPERTIES
VERSION ${VERSION}
Name: libmm-utility
Summary: Multimedia Framework Utility Library
-Version: 0.1.35
+Version: 0.1.36
Release: 0
Group: System/Libraries
License: Apache-2.0