Closed gnunn1 closed 7 years ago
Although i can't seem to reproduce this locally. I think this is because listing the top level gtkd package as a dependency builds and links everything (gtk, gtkgl, sourceview, vte, peas) and then it's up to the linker on what to include.
Depending on the different sub packages should work:
"dependencies": {
"gtk-d:gtkd": "~>3.6.5",
"gtk-d:vte": "~>3.6.5"
}
I probably also need to revert the changes for issue #175 since dub now also builds a separate library that includes everything for the top level package.
Thanks, changing the dependency to the sub-packages works fine.
I've set the target type back to none, so hopefully this will be less of an issue in the future.
In Tilix I build release builds using ldc2 with libphobos and druntime statically linked and everything else dynamically linked. When I build with the 3.6.x series and try to run Tilix I get the error below. Building with 3.5.1 under the same configuration results in a working tilix. I think something in the GtkD refactoring has started dragging in this dependency even when the application doesn't explicitly use the GL modules.