Skip to content

Commit 400be89

Browse files
Andreas Junghannspmai
Andreas Junghanns
authored andcommitted
Hint to -fno-gnu-unique
1 parent b91a3df commit 400be89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fmi-guide/3___packaging.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ Furthermore, in case of failure, automatic linking is unlikely to provide user-u
167167
Note that simple calls to `LoadLibrary` or `LoadLibraryEx` on Windows, without specifying the full path to the library are also not going to work in general, for the same reasons:
168168
The search path will be based on the location of the importer executable and not the FMU DLL.
169169

170+
Note also that on Linux, `dlclose` is not guaranteed to unload the shared object with newer compilers and might require the compiler flag `-fno-gnu-unique` to enforce actual unloading of the shared object.
171+
170172
=== Interaction between FMU and Importer
171173

172174
The FMU code will run in the process environment that the importer provides.

0 commit comments

Comments
 (0)