diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-10-07 07:45:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-10-07 07:59:14 +0300 |
commit | 1691752dd29d661552700d9bcac5d3a3953fb91a (patch) | |
tree | 9d00ce644407c938936fe34ed1c9946c08245f64 /sal/Module_sal.mk | |
parent | 68669491ade83c395144b66a4f65cd7720f76a55 (diff) |
When DISABLE_DYNLOADING don't even provide any module loading/unloading API
Will then cause compilation errors where they are used, which will be
noticed and taken care of. (The code chanaged to either use direct
linking instead, when it makes sense, or to just bypass the
functionality that requires dynamic loading.)
Much better than waiting until run-time to notice where dynamic
loading is attempted.
Change-Id: Ib0cb5a2524b5c63f8e27670e7d72e37ce2a8e6e9
Diffstat (limited to 'sal/Module_sal.mk')
-rw-r--r-- | sal/Module_sal.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk index a144b3c268dc..a2c937d719c5 100644 --- a/sal/Module_sal.mk +++ b/sal/Module_sal.mk @@ -52,13 +52,13 @@ $(eval $(call gb_Module_add_targets,sal,\ endif $(eval $(call gb_Module_add_check_targets,sal,\ - CppunitTest_Module_DLL \ + $(if $(filter TRUE,$(DISABLE_DYNLOADING)),,CppunitTest_Module_DLL) \ CppunitTest_sal_bytesequence \ CppunitTest_sal_checkapi \ CppunitTest_sal_osl_condition \ $(if $(filter $(OS),WNT),, \ CppunitTest_sal_osl_file) \ - CppunitTest_sal_osl_module \ + $(if $(filter TRUE,$(DISABLE_DYNLOADING)),,CppunitTest_sal_osl_module) \ CppunitTest_sal_osl_old_test_file \ CppunitTest_sal_osl_security \ CppunitTest_sal_osl_thread \ |