mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
Ports: Update build flags for ScummVM
These were no longer being picked up after some recent changes. Since port builds happen in subshells nowadays, we can get rid of the export / unset combo anyway. This fixes ScummVM crashing on startup, caused by `-fvisibility` not being set.
This commit is contained in:
parent
216f68c566
commit
aa05f9120c
Notes:
sideshowbarker
2024-07-17 04:54:02 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/aa05f9120c Pull-request: https://github.com/SerenityOS/serenity/pull/15884
|
@ -15,19 +15,10 @@ launcher_category=Games
|
|||
launcher_command=/usr/local/bin/scummvm
|
||||
icon_file=icons/scummvm.ico
|
||||
|
||||
function pre_configure() {
|
||||
export CPPFLAGS="-fvisibility=hidden"
|
||||
export FREETYPE2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2"
|
||||
export OPENGL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
||||
export SDL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
||||
}
|
||||
|
||||
function post_configure() {
|
||||
unset CPPFLAGS
|
||||
unset FREETYPE2_CFLAGS
|
||||
unset OPENGL_CFLAGS
|
||||
unset SDL_CFLAGS
|
||||
}
|
||||
export CPPFLAGS="-fvisibility=hidden"
|
||||
export FREETYPE2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2"
|
||||
export OPENGL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
||||
export SDL_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
||||
|
||||
function post_install() {
|
||||
icons_build_dir="${PORT_BUILD_DIR}/scummvm-icons"
|
||||
|
|
Loading…
Reference in a new issue