From 037c2257f980d658d5071fc058913acca9d477b8 Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Sun, 2 Jul 2023 09:25:08 +0200 Subject: [PATCH] Export liblinprog symbols in libalm Appls using libalm (mainly the Aukland Layout Editor) expect to find these symbols in libalm. Change-Id: I9ed72ce9fb63510351ab8b50643c3eace2c2953b Reviewed-on: https://review.haiku-os.org/c/haiku/+/6664 Tested-by: Commit checker robot Reviewed-by: Niels Sascha Reedijk --- src/libs/linprog/Jamfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libs/linprog/Jamfile b/src/libs/linprog/Jamfile index e97e04be08..0154ede5b7 100644 --- a/src/libs/linprog/Jamfile +++ b/src/libs/linprog/Jamfile @@ -9,6 +9,10 @@ UsePrivateHeaders shared ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { + # Applications linking against libalm.so expect to find the liblinprog symbols there. + # So, keep all the symbols exported for the time being. + NO_HIDDEN_VISIBILITY on [ MultiArchDefaultGristFiles liblinprog.a ] = 1 ; + StaticLibrary [ MultiArchDefaultGristFiles liblinprog.a ] : ActiveSetSolver.cpp Constraint.cpp