mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports: Build shared library for freetype
This commit is contained in:
parent
6f0092edb8
commit
7e1f413a89
Notes:
sideshowbarker
2024-07-18 16:51:53 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/7e1f413a89d Pull-request: https://github.com/SerenityOS/serenity/pull/7795
1 changed files with 6 additions and 0 deletions
|
@ -5,3 +5,9 @@ useconfigure=true
|
|||
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz 5eab795ebb23ac77001cfb68b7d4d50b5d6c7469247b0b01b2c953269f658dac"
|
||||
auth_type=sha256
|
||||
configopts="--with-brotli=no --with-bzip2=no --with-zlib=no --with-harfbuzz=no --with-png=no"
|
||||
|
||||
install() {
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
|
||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.so -Wl,-soname,libfreetype.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.a -Wl,--no-whole-archive
|
||||
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.la
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue