Alex 2957f5084d
[Library] Update zlibng (#1255)
* Update zlibng

* Set cmake path more directly in zlibng to hopefully fix an issue with the build on drone

* I'm dumb, missing / in path

* Mackal helps with a dumb gitignore issue

* Adding all the files, not sure what's ignoring them and im tired of looking

* Some tweaks to zlibng build to hopefully get it to build properly. works on msvc now
2021-02-23 19:00:26 -06:00

18 lines
678 B
Bash

#!/bin/sh
# Canonicalize CHOST.
# In particular, converts Debian multiarch tuples into GNU triplets.
# See also
# https://wiki.debian.org/Multiarch/Tuples
# https://wiki.gentoo.org/wiki/CHOST
# If you need an architecture not listed here, file a bug at github.com/zlib-ng/zlib-ng
# and work around the problem by dropping libtool's much more comprehensive config.sub
# on top of this file, see
# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
case "$1" in
*-*-linux-gnu*) echo $1;;
i686-linux-gnu*|x86_64-linux-gnu*) echo $1 | sed 's/-linux-gnu/-pc-linux-gnu/';;
*-linux-gnu*) echo $1 | sed 's/-linux-gnu/-unknown-linux-gnu/';;
*) echo $1;;
esac