[Scummvm-git-logs] scummvm master -> 2473081ca7444c1177aa138f855db77c3a908bb5

lephilousophe lephilousophe at users.noreply.github.com
Fri Mar 5 08:05:10 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2473081ca7 AGS: Fix build when detection is compiled as a plugin


Commit: 2473081ca7444c1177aa138f855db77c3a908bb5
    https://github.com/scummvm/scummvm/commit/2473081ca7444c1177aa138f855db77c3a908bb5
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-03-05T09:04:33+01:00

Commit Message:
AGS: Fix build when detection is compiled as a plugin

Changed paths:
    engines/ags/game_scanner.cpp


diff --git a/engines/ags/game_scanner.cpp b/engines/ags/game_scanner.cpp
index 0a496f3f79..7da4da6e0a 100644
--- a/engines/ags/game_scanner.cpp
+++ b/engines/ags/game_scanner.cpp
@@ -33,6 +33,14 @@
 #include "common/hashmap.h"
 #include "common/md5.h"
 
+/**
+ * When detection is compiled dynamically, detection tables end up in detection plugin and
+ * engine cannot link to them so duplicate them in the engine in this case
+ */
+#ifndef DETECTION_STATIC
+#include "ags/detection_tables.h"
+#endif
+
 namespace AGS3 {
 
 extern bool define_gamedata_location(const AGS::Shared::String &exe_path);




More information about the Scummvm-git-logs mailing list