changeset 6909:3b64213a99e9

nettle: Install libraries in "lib" directory. * src/nettle.mk: Make sure to install in "lib" directory. Otherwise, it would install in "lib64" if "/usr/lib64" exists on the build host.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 05 Oct 2023 19:13:40 +0200
parents edcadc7f71a4
children d02fb20863e1
files src/nettle.mk
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/nettle.mk	Wed Oct 04 17:43:42 2023 +0200
+++ b/src/nettle.mk	Thu Oct 05 19:13:40 2023 +0200
@@ -24,9 +24,9 @@
     cd '$(1)' && ./configure \
         $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
-	CCAS=gcc \
-	--disable-shared \
-	--disable-documentation \
+        CCAS=gcc \
+        --disable-shared \
+        --disable-documentation \
         --prefix='$(HOST_PREFIX)'
 
     $(MAKE) -C '$(1)' -j '$(JOBS)' getopt.o getopt1.o
@@ -50,8 +50,9 @@
         $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         $(ENABLE_SHARED_OR_STATIC) \
-	--disable-documentation \
-        --prefix='$(HOST_PREFIX)'
+        --disable-documentation \
+        --prefix='$(HOST_PREFIX)' \
+        --libdir='$(HOST_PREFIX)/lib'
     $(MAKE) -C '$(1)' -j '$(JOBS)' SUBDIRS=
     $(MAKE) -C '$(1)' -j 1 SUBDIRS= install DESTDIR='$(3)'
 endef