Skip to content

Commit

Permalink
Obtain FreeType version being used for the build from freetype.h
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Oct 5, 2023
1 parent df37119 commit 4910edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ addFreeTypeVersionInfo() {
local version="Unknown"
local freetypeInclude=""
if [ "${FREETYPE_TO_USE}" == "system" ]; then
local FREETYPE_CFLAGS="$(grep "^FREETYPE_CFLAGS[ ]*:=" ${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}/build/*/spec.gmk | sed "s/^FREETYPE_CFLAGS[ ]*:=[ ]*//" | sed "s/\-I//")"
local FREETYPE_CFLAGS="$(grep "^FREETYPE_CFLAGS[ ]*:=" ${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}/build/*/spec.gmk | sed "s/^FREETYPE_CFLAGS[ ]*:=[ ]*//" | sed "s/\-I//g")"
echo "FREETYPE_CFLAGS paths=${FREETYPE_CFLAGS}"

# Search freetype include path for freetype.h
Expand Down

0 comments on commit 4910edf

Please sign in to comment.