Skip to content

Commit

Permalink
Avoid duplicating symbols by double linking against datatypes
Browse files Browse the repository at this point in the history
langmm committed Feb 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 942d2c8 commit 45a9fdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yggdrasil/drivers/FortranModelDriver.py
Original file line number Diff line number Diff line change
@@ -170,9 +170,9 @@ class FortranModelDriver(CompiledModelDriver):
'YggInterface.f90'),
'libtype': 'static',
'internal_dependencies': (
[('c', x) for x in
_c_internal_libs['ygg']['internal_dependencies']]
+ [('c', 'ygg'), 'c_wrappers']),
# [('c', x) for x in
# _c_internal_libs['ygg']['internal_dependencies']]
[('c', 'ygg'), 'c_wrappers']),
'external_dependencies': (
[('c', x) for x in
_c_internal_libs['ygg']['external_dependencies']]),

0 comments on commit 45a9fdf

Please sign in to comment.