When compiling the new version of syslog-ng, the compil failed cause syslog-ng must be dynamic when glib is shared. Or syslog-ng must be static when glib is static. So i add static and shared use flags to glib to permit the users to do so.
Created attachment 101044 [details, diff] Patch to add shared and static flag to glib
Comment on attachment 101044 [details, diff] Patch to add shared and static flag to glib This is plain wrong. If a package can install both static and dynamic libs, then it should install both by default, without any flags. If dev-libs/glib doesn't do it, then it's an ebuild bug.
What about the hardened version then ? If i good remember, some grsecurity or pax options force us to do only static one. This means that the shared part couldn't be done. Am i right when saying that ? If not, i will do both then.
we should probably be passing --enable-static since its off by default.
(In reply to comment #4) > we should probably be passing --enable-static since its off by default. > Hi, i have proposed a ebuild for glib to build both static and dynamic libs. In my case it was useful for evms Have a look at bug number #152293 Jj
Created attachment 101100 [details, diff] patch to glib-2.12.4.ebuild to always build static library as well as dynamic. Here's a patch to the latest ebuild to also always build the static library.
thanks, in cvs with 2.12.4-r1.