40 lines
962 B
Diff
40 lines
962 B
Diff
|
diff --git a/configure.in b/configure.in
|
||
|
index e6cd6a4..988b0a7 100644
|
||
|
--- a/configure.in
|
||
|
+++ b/configure.in
|
||
|
@@ -5116,6 +5116,8 @@ AC_SUBST(BUILD_CPPFLAGS)
|
||
|
AC_SUBST(BUILD_LDFLAGS)
|
||
|
AC_SUBST(BUILD_LIBS)
|
||
|
|
||
|
+AC_SUBST(LIBDIR_SUFFIX)
|
||
|
+
|
||
|
#
|
||
|
# Commands to run at the end of config.status.
|
||
|
# Don't just put these into configure, it won't work right if somebody
|
||
|
diff --git a/isc-config.sh.in b/isc-config.sh.in
|
||
|
index 110191a..5a64004 100644
|
||
|
--- a/isc-config.sh.in
|
||
|
+++ b/isc-config.sh.in
|
||
|
@@ -12,16 +12,17 @@ prefix=@prefix@
|
||
|
exec_prefix=@exec_prefix@
|
||
|
exec_prefix_set=
|
||
|
includedir=@includedir@
|
||
|
+libdir_suffix=@LIBDIR_SUFFIX@
|
||
|
arch=$(uname -m)
|
||
|
|
||
|
case $arch in
|
||
|
x86_64 | amd64 | sparc64 | s390x | ppc64)
|
||
|
- libdir=/usr/lib64
|
||
|
- sec_libdir=/usr/lib
|
||
|
+ libdir=/usr/lib64${libdir_suffix}
|
||
|
+ sec_libdir=/usr/lib${libdir_suffix}
|
||
|
;;
|
||
|
* )
|
||
|
- libdir=/usr/lib
|
||
|
- sec_libdir=/usr/lib64
|
||
|
+ libdir=/usr/lib${libdir_suffix}
|
||
|
+ sec_libdir=/usr/lib64${libdir_suffix}
|
||
|
;;
|
||
|
esac
|
||
|
|