# export LDFLAGS="-Wl,-O1 -Wl,--as-needed"
# ./configure
# make
# make install
Now the "-Wl,-O1 -Wl,--as-needed" is in the Libs: line of the pkg-
config file (isl.pc)
This should not happen
Libs and Libs.private lines are really only for libs and libpaths, as
in -l and -L flags
The responsible .m4 macro should be patch to get rid of this LDFLAGS
reference to avoid polluting the system
On Nov 20, 7:35 am, Samuli Suominen <ssuominen.priv...@gmail.com>
wrote:
Do you have such a patch?
skimo
--- m4/ax_create_pkgconfig_info.m4
+++ m4/ax_create_pkgconfig_info.m4
@@ -214,7 +214,7 @@
Description: @PACKAGE_DESCRIPTION@
Version: @PACKAGE_VERSION@
Requires: @PACKAGE_REQUIRES@
-Libs: -L\${libdir} @LDFLAGS@ @LIBS@
+Libs: -L\${libdir} @LIBS@
Cflags: -I\${includedir} @CPPFLAGS@
AXEOF
fi # DONE generate $pkgconfig_generate.in
I'd rather not touch this file, unless you can get it changed
upstream (http://savannah.gnu.org/projects/autoconf-archive/).
Btw, please read doc/SubmittingPatches for guidelines on how
to submit patches.
skimo
On Mon, Dec 12, 2011 at 12:14:07PM -0800, Samuli Suominen wrote:
> --- m4/ax_create_pkgconfig_info.m4
> +++ m4/ax_create_pkgconfig_info.m4I'd rather not touch this file, unless you can get it changed
upstream (http://savannah.gnu.org/projects/autoconf-archive/).
Would you care to send a proper patch
to update ax_create_pkgconfig_info.m4 in isl?