From 68ab345297acdbeb92439b90cf934c4c5491f795 Mon Sep 17 00:00:00 2001
From: Eric Kilmer <eric.d.kilmer@gmail.com>
Date: Mon, 13 Jan 2020 19:14:08 -0500
Subject: [PATCH] Compile pepy with unicode_codecvt (#108)

Ideally, we would be able to autodetect which unicode library we want to
use, but this should hopefully work as a stop-gap solution.
---
 python/setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/setup.py b/python/setup.py
index 1e607c3..8bd94c7 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -32,7 +32,8 @@ here = os.path.abspath(os.path.dirname(__file__))
 
 SOURCE_FILES = [os.path.join(here, 'pepy.cpp'),
                 os.path.abspath(os.path.join(here, '..', 'pe-parser-library', 'src', 'parse.cpp')),
-                os.path.abspath(os.path.join(here, '..', 'pe-parser-library', 'src', 'buffer.cpp'))]
+                os.path.abspath(os.path.join(here, '..', 'pe-parser-library', 'src', 'buffer.cpp')),
+                os.path.abspath(os.path.join(here, '..', 'pe-parser-library', 'src', 'unicode_codecvt.cpp'))]
 
 if platform.system() == 'Windows':
   INCLUDE_DIRS = [os.path.abspath(os.path.join(os.path.dirname(sys.executable), 'include')),