Skip to content

Commit

Permalink
Merge pull request #141 from dcbaker/submit/fix-static-build
Browse files Browse the repository at this point in the history
meson: Define visibility flags for static builds
  • Loading branch information
ebassi authored Oct 18, 2017
2 parents d1c56a0 + c02a02d commit 1dc283e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ endforeach
libtype = get_option('default_library')

# Visibility compiler flags; we only use this for shared libraries
visibility_cflags = []
if libtype == 'shared'
visibility_cflags = []
if host_system == 'windows'
conf.set('DLL_EXPORT', true)
conf.set('EPOXY_PUBLIC', '__declspec(dllexport) extern')
Expand Down

0 comments on commit 1dc283e

Please sign in to comment.