summaryrefslogtreecommitdiff
path: root/databases/py-leveldb/files/patch-setup.py
blob: 621de1f1085323e4e70471be04328cfe59148f0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- setup.py.orig	2016-12-27 23:05:34 UTC
+++ setup.py
@@ -31,11 +31,11 @@ if system == 'Darwin':
         '-DLEVELDB_PLATFORM_POSIX',
         '-Wno-error=unused-command-line-argument-hard-error-in-future',
     ]
-elif system == 'Linux':
+elif system == 'FreeBSD':
     extra_compile_args = common_flags + [
         '-pthread',
         '-Wall',
-        '-DOS_LINUX',
+        '-DOS_FREEBSD',
         '-DLEVELDB_PLATFORM_POSIX',
     ]
 else: