I develop an app with wxWidgets and I want the libraries to be statically linked to my executable. To do so I need to configure wxWidgets with the --disable-shared flag but these is no USE flag defined in the ebuild that enables me to do that. Can a USE flag be added please? Thanks, JC Reproducible: Always Steps to Reproduce: 1. 2. 3.
Does this work for you? ECONF_EXTRA='--disable-shared' emerge wxGTK Otherwise, this looks like a dupe of Bug 51362.
I guess it does but I will have to remember to do this manually every time there's an update, right? I thought that this is what USE flags are precisely useful for. I was looking for a USE flag (static?) that I could associate with wxGTK ebuild in the package.use file and have it take care of itself automatically. I am sorry if I misunderstood the principle. Thanks, JC
Actually it looks like the option you mention should be: EXTRA_ECONF="--disable-shared" emerge wxGTK but the ebuild should use econf for this to work and it doesn't. Found this in: http://forums.gentoo.org/viewtopic.php?t=93660 http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1
i don't think we can do this at this time. with wxGTK, you either get shared or static, not both. we have to lean toward the option that most users would want, and that breaks fewer clueless user's systems. being that you actually know what you're doing, it's not difficult to copy the ebuild to an overlay and modify it to meet your needs.