summarylogtreecommitdiffstats
path: root/glog_use_glog_export.patch
blob: 8026deb5976973b325742e1c3e0ebec5abfa2433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/setup.py b/setup.py
index a5aecf7..9f12b52 100755
--- a/setup.py
+++ b/setup.py
@@ -50,7 +50,7 @@ def get_extensions():
     extension = CppExtension
 
     extra_compile_args = {"cxx": ["-std=c++17"]}
-    define_macros = []
+    define_macros = [("GLOG_USE_GLOG_EXPORT", None)]
     include_dirs = [extensions_dir]
 
     force_cuda = os.getenv("FORCE_CUDA", "0") == "1"