[Scummvm-tracker] [ScummVM :: Bugs] #13746: Dynamic build detection fails at compile time.

ScummVM :: Bugs trac at scummvm.org
Mon Aug 8 00:43:48 UTC 2022


#13746: Dynamic build detection fails at compile time.
--------------------+------------------------
Reporter:  Achaean  |       Owner:  (none)
    Type:  defect   |      Status:  new
Priority:  normal   |   Component:  --Other--
 Version:           |  Resolution:
Keywords:           |        Game:
--------------------+------------------------
Comment (by digitall):

 Replicated with latest git master. The issue appears to occur if
 "--enable-plugins" is not passed and dynamic plugins is not the default
 build on platform i.e. on Linux x86_64, the default will be a static
 build, rather than using plugins.

 However, adding a guard to base/detection/detection.cpp to check for the
 DYNAMIC_MODULES symbol is not sufficient to get a successful build and
 link with the current code.

 It looks like the static vs. dynamic build logic in configure, config.h
 symbols and code could do with a minor refactor to ensure a clear logical
 consistency in how this works.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13746#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list