mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update gd_old.sh
This commit is contained in:
@@ -82,13 +82,18 @@ Install_lib()
|
||||
OPTIONS="$OPTIONS --with-xpm-dir"
|
||||
fi
|
||||
|
||||
if [ "debian" == "$OSNAME" ]; then
|
||||
OPTIONS="$OPTIONS --with-freetype"
|
||||
else
|
||||
find_ft2=`pkg-config --list-all | grep freetype2`
|
||||
if [ "$find_ft2" == "" ];then
|
||||
OPTIONS="$OPTIONS --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
fi
|
||||
# if [ "debian" == "$OSNAME" ]; then
|
||||
# OPTIONS="$OPTIONS --with-freetype"
|
||||
# else
|
||||
# find_ft2=`pkg-config --list-all | grep freetype2`
|
||||
# if [ "$find_ft2" != "" ];then
|
||||
# OPTIONS="$OPTIONS --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
# fi
|
||||
# fi
|
||||
|
||||
find_ft2=`pkg-config --list-all | grep freetype2`
|
||||
if [ "$find_ft2" != "" ];then
|
||||
OPTIONS="$OPTIONS --with-freetype-dir=${serverPath}/lib/freetype_old"
|
||||
fi
|
||||
|
||||
#--with-xpm
|
||||
|
||||
Reference in New Issue
Block a user