Blame patches/nettle/midipix-configure-support.patch

Lucio Andrés Illanes Albornoz cbf53b
diff -ru nettle-3.4.1.orig/configure nettle-3.4.1/configure
Lucio Andrés Illanes Albornoz cbf53b
--- nettle-3.4.1.orig/configure	2018-12-04 21:56:06.000000000 +0100
Lucio Andrés Illanes Albornoz cbf53b
+++ nettle-3.4.1/configure	2019-01-31 11:41:23.385784666 +0100
Lucio Andrés Illanes Albornoz cbf53b
@@ -7188,6 +7188,22 @@
Lucio Andrés Illanes Albornoz cbf53b
     LIBHOGWEED_LIBS='-Wl,--no-whole-archive $(LIBS) libnettle.dll.a'
Lucio Andrés Illanes Albornoz cbf53b
     IF_DLL=''
Lucio Andrés Illanes Albornoz cbf53b
     ;;
Lucio Andrés Illanes Albornoz cbf53b
+  midipix*)
Lucio Andrés Illanes Albornoz cbf53b
+    if test "x$ABI" = x64 ; then
Lucio Andrés Illanes Albornoz cbf53b
+        W64_ABI=yes
Lucio Andrés Illanes Albornoz cbf53b
+    fi
Lucio Andrés Illanes Albornoz cbf53b
+    LIBNETTLE_FORLINK=libnettle.so
Lucio Andrés Illanes Albornoz cbf53b
+    LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
Lucio Andrés Illanes Albornoz cbf53b
+    LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
Lucio Andrés Illanes Albornoz cbf53b
+    LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-dsolib=libnettle.lib.a -Wl,-soname=$(LIBNETTLE_SONAME)'
Lucio Andrés Illanes Albornoz cbf53b
+    LIBNETTLE_LIBS=''
Lucio Andrés Illanes Albornoz cbf53b
+
Lucio Andrés Illanes Albornoz cbf53b
+    LIBHOGWEED_FORLINK=libhogweed.so
Lucio Andrés Illanes Albornoz cbf53b
+    LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
Lucio Andrés Illanes Albornoz cbf53b
+    LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
Lucio Andrés Illanes Albornoz cbf53b
+    LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-dsolib=libhogweed.lib.a -Wl,-soname=$(LIBHOGWEED_SONAME)'
Lucio Andrés Illanes Albornoz cbf53b
+    LIBHOGWEED_LIBS='$(LIBS) libnettle.lib.a'
Lucio Andrés Illanes Albornoz cbf53b
+    ;;
Lucio Andrés Illanes Albornoz cbf53b
   darwin*)
Lucio Andrés Illanes Albornoz cbf53b
     LIBNETTLE_FORLINK=libnettle.dylib
Lucio Andrés Illanes Albornoz cbf53b
     LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'