Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meson: Use shared_library() instead of library() #33

Closed
xclaesse opened this issue Mar 23, 2018 · 2 comments
Closed

Meson: Use shared_library() instead of library() #33

xclaesse opened this issue Mar 23, 2018 · 2 comments

Comments

@xclaesse
Copy link

library() function is to allow building shared, static or both libraries. But only shared is currently supposed. Passing --default-library=static I get that error from meson:

ERROR: Static libraries not supported for C#.

@thiblahute
Copy link
Contributor

Patch very welcomed ;)

xclaesse added a commit to xclaesse/GtkSharp that referenced this issue Mar 24, 2018
When gtk-sharp is used as a subproject (e.g. gst-build) and the master
project is built with default-library=both, gtk-sharp should still only
build shared libraries instead of failing to configure.

Closes: GLibSharp#33
@xclaesse
Copy link
Author

I posted the same patch for gstreamer-sharp:
https://bugzilla.gnome.org/show_bug.cgi?id=794656

thiblahute pushed a commit that referenced this issue Mar 24, 2018
When gtk-sharp is used as a subproject (e.g. gst-build) and the master
project is built with default-library=both, gtk-sharp should still only
build shared libraries instead of failing to configure.

Closes: #33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants