Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5a002f + 9d25e9c commit a6bba66Copy full SHA for a6bba66
setup.py
@@ -280,7 +280,13 @@ def _get_manifest(self, build_dir):
280
return manifest
281
282
def _build_monoclr(self):
283
- mono_libs = _check_output("pkg-config --libs mono-2", shell=True)
+ try:
284
+ mono_libs = _check_output("pkg-config --libs mono-2", shell=True)
285
+ except:
286
+ if DEVTOOLS == "dotnet":
287
+ print("Skipping building monoclr module...")
288
+ return
289
+ raise
290
mono_cflags = _check_output("pkg-config --cflags mono-2", shell=True)
291
glib_libs = _check_output("pkg-config --libs glib-2.0", shell=True)
292
glib_cflags = _check_output("pkg-config --cflags glib-2.0", shell=True)
0 commit comments