pkg-config --libs zziplib -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -lzzip -lz This is probably not wanted. in m4/ax_create_pkgconfig_info.m4, there is: Libs: -L\${libdir} @LDFLAGS@ @LIBS@ Not sure if there is a need for such a thing, but to me it's a bug that the zziplib build time ldflags get propagated to everything using pkg-config to link to it.
thanks, fixed in 0.13.49-r1