 
         # we accept some arch aliases
 
-        arch = "x86-64" if arch is "amd64"
-        arch = "x86-64" if arch is "x86_64"
+        arch = "x86_64" if arch is "amd64"
         arch = "x86"    if arch is "i386"
 
         if not arch in arch_info

temp_files = []

host_arch = os.arch()
host_arch = "x86-64" if host_arch is "x64" # why didn't we just standardize on 'amd64'?  sigh
host_arch = "x86"    if host_arch is "ia32"

host_platform = os.platform()

        return "../../external-deps/pcre-linux/.libs/libpcre16.a" if platform is "linux"

        if platform is "darwin"
                return "../../external-deps/pcre-osx/.libs/libpcre16.a" if arch is "x86_64"
                return "../../external-deps/pcre-iossim/.libs/libpcre16.a" if arch is "x86"
                return "../../external-deps/pcre-iosdev/.libs/libpcre16.a" if arch is "arm"
                return "../../external-deps/pcre-iosdevaarch64/.libs/libpcre16.a" if arch is "aarch64"
