Skip to content

Commit

Permalink
Use .def file in jansson's packagefile
Browse files Browse the repository at this point in the history
The package file for jansson didn't use jansson's def file, and it didn't define an alternate method to mark symbols as exported, which may have caused DLLs to fail to build on Windows.
  • Loading branch information
LandonTheCoder authored and neheb committed Oct 28, 2024
1 parent 7b8c1a0 commit 51d52f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subprojects/packagefiles/jansson/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ jansson_lib = library('jansson',
'src/strconv.c',
'src/utf.c',
'src/value.c',
c_args : '-DHAVE_CONFIG_H'
c_args : '-DHAVE_CONFIG_H',
vs_module_defs : 'src/jansson.def'
)

jansson_dep = declare_dependency(
Expand Down

0 comments on commit 51d52f3

Please sign in to comment.