We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec78baa commit aedb470Copy full SHA for aedb470
1 file changed
src/linux/compile.py
@@ -108,9 +108,11 @@
108
SETUP_DIR = os.path.abspath(os.path.join(LINUX_DIR, "setup"))
109
CEFPYTHON_DIR = os.path.abspath(os.path.join(SRC_DIR, ".."))
110
BUILD_DIR = os.path.abspath(os.path.join(CEFPYTHON_DIR, "build"))
111
-CEF_BINARY = os.path.abspath(os.path.join(BUILD_DIR, "cef_"+OS_POSTFIX2))
112
CEFPYTHON_BINARY = os.path.abspath(os.path.join(BUILD_DIR,
113
"cefpython_"+OS_POSTFIX2))
+CEF_BINARY = os.environ.get('CEF_BINARY')
114
+if not CEF_BINARY or not os.path.exists(CEF_BINARY):
115
+ CEF_BINARY = os.path.abspath(os.path.join(BUILD_DIR, "cef_"+OS_POSTFIX2))
116
117
# Create directories if necessary
118
if not os.path.exists(CEFPYTHON_BINARY):
0 commit comments