Blame SOURCES/bind-9.11-export-suffix.patch

10d019
diff --git a/configure.ac b/configure.ac
10d019
index c1bfd62..7c5ad51 100644
10d019
--- a/configure.ac
10d019
+++ b/configure.ac
10d019
@@ -5333,6 +5333,8 @@ AC_SUBST(BUILD_CPPFLAGS)
2e2c49
 AC_SUBST(BUILD_LDFLAGS)
2e2c49
 AC_SUBST(BUILD_LIBS)
2e2c49
 
2e2c49
+AC_SUBST(LIBDIR_SUFFIX)
2e2c49
+
2e2c49
 #
2e2c49
 # Commands to run at the end of config.status.
2e2c49
 # Don't just put these into configure, it won't work right if somebody
2e2c49
diff --git a/isc-config.sh.in b/isc-config.sh.in
10d019
index b5e94ed..d2857e0 100644
2e2c49
--- a/isc-config.sh.in
2e2c49
+++ b/isc-config.sh.in
10d019
@@ -13,16 +13,17 @@ prefix=@prefix@
2e2c49
 exec_prefix=@exec_prefix@
2e2c49
 exec_prefix_set=
2e2c49
 includedir=@includedir@
2e2c49
+libdir_suffix=@LIBDIR_SUFFIX@
2e2c49
 arch=$(uname -m)
2e2c49
 
2e2c49
 case $arch in
2e2c49
 	x86_64 | amd64 | sparc64 | s390x | ppc64)
2e2c49
-		libdir=/usr/lib64
2e2c49
-		sec_libdir=/usr/lib
2e2c49
+		libdir=/usr/lib64${libdir_suffix}
2e2c49
+		sec_libdir=/usr/lib${libdir_suffix}
2e2c49
 		;;
2e2c49
 	* )
2e2c49
-		libdir=/usr/lib
2e2c49
-		sec_libdir=/usr/lib64
2e2c49
+		libdir=/usr/lib${libdir_suffix}
2e2c49
+		sec_libdir=/usr/lib64${libdir_suffix}
2e2c49
 		;;
2e2c49
 esac
2e2c49