Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
7756351f
Commit
7756351f
authored
Jun 15, 2020
by
Ignacio Etcheverry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dynamic linking of MSVC Mono with MinGW Godot
parent
54df72dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
mono_configure.py
modules/mono/build_scripts/mono_configure.py
+5
-6
No files found.
modules/mono/build_scripts/mono_configure.py
View file @
7756351f
...
...
@@ -191,17 +191,16 @@ def configure(env, env_mono):
env
.
Append
(
LIBS
=
[
"psapi"
])
env
.
Append
(
LIBS
=
[
"version"
])
else
:
mono_lib_name
=
find_name_in_dir_files
(
mono_lib_path
,
mono_lib_names
,
prefixes
=
[
""
,
"lib"
],
extensions
=
lib_suffixes
)
mono_lib_file
=
find_file_in_dir
(
mono_lib_path
,
mono_lib_names
,
extensions
=
lib_suffixes
)
if
not
mono_lib_
nam
e
:
if
not
mono_lib_
fil
e
:
raise
RuntimeError
(
"Could not find mono library in: "
+
mono_lib_path
)
if
env
.
msvc
:
env
.
Append
(
LINKFLAGS
=
mono_lib_
name
+
".lib"
)
env
.
Append
(
LINKFLAGS
=
mono_lib_
file
)
else
:
env
.
Append
(
LIBS
=
[
mono_lib_name
])
mono_lib_file_path
=
os
.
path
.
join
(
mono_lib_path
,
mono_lib_file
)
env
.
Append
(
LINKFLAGS
=
mono_lib_file_path
)
mono_bin_path
=
os
.
path
.
join
(
mono_root
,
"bin"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment