--- xml2-config.in +++ xml2-config.in @@ -3,7 +3,12 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ -libdir=@libdir@ +if [ "`ldd /bin/sh | grep lib64`" = "" ] +then + libdir=${exec_prefix}/lib +else + libdir=${exec_prefix}/lib64 +fi cflags= libs=