Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
4df165dd
Commit
4df165dd
authored
May 21, 2019
by
Seungha Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson: Fix build with MSVC and non-English locale
Otherwise, MSVC will complain and cause build error.
parent
1a09c365
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
meson.build
meson.build
+6
-0
No files found.
meson.build
View file @
4df165dd
...
@@ -29,6 +29,12 @@ cc = meson.get_compiler('c')
...
@@ -29,6 +29,12 @@ cc = meson.get_compiler('c')
syslibs = []
syslibs = []
if cc.get_id() == 'msvc'
add_project_arguments(
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
language : 'c')
endif
if host_machine.system() == 'windows'
if host_machine.system() == 'windows'
syslibs += [cc.find_library('iphlpapi')]
syslibs += [cc.find_library('iphlpapi')]
syslibs += [cc.find_library('ws2_32')]
syslibs += [cc.find_library('ws2_32')]
...
...
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