Skip to content
Snippets Groups Projects
Commit a04d3099 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

SuperBuild: patch to install properly GDAL python binding on MacOS

parent a2119c37
No related branches found
No related tags found
Loading
--- gdal-2.2.1-orig/swig/python/GNUmakefile 2017-06-23 14:18:44.000000000 +0200
+++ gdal-2.2.1/swig/python/GNUmakefile 2018-03-09 18:44:06.533081541 +0100
@@ -81,18 +81,7 @@
endif
ifdef prefix
- ifeq ($(shell uname),Darwin)
- STD_UNIX_LAYOUT=$(shell $(PYTHON) -c "from __future__ import print_function;import sys;print(\"FALSE\" if \"framework\" in sys.prefix.lower() else \"TRUE\")")
- ifeq ($(STD_UNIX_LAYOUT),"TRUE")
setup_opts+=--prefix=$(prefix)
- else
- ifdef PYTHON_INSTALL_LIB
- setup_opts+=--install-lib=$(PYTHON_INSTALL_LIB)
- endif
- endif
- else
- setup_opts+=--prefix=$(prefix)
- endif
endif
ifdef INSTALL_LAYOUT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment