summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/config/Make.rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/config/Make.rules b/python/config/Make.rules
index a3a2e17251c..c14c7172abf 100644
--- a/python/config/Make.rules
+++ b/python/config/Make.rules
@@ -142,18 +142,18 @@ SLICE2PYFLAGS = $(ICECPPFLAGS)
LDFLAGS = $(LDPLATFORMFLAGS) $(CXXFLAGS) -L$(libdir)
ifdef ice_src_dist
- SLICE2PY = $(top_srcdir)/config/s2py.py
+ SLICE2PY = $(top_srcdir)/config/s2py.py
SLICEPARSERLIB = $(ice_cpp_dir)/$(libsubdir)/$(call mklibfilename,Slice,$(VERSION))
ifeq ($(wildcard $(SLICEPARSERLIB)),)
- SLICEPARSERLIB = $(ice_cpp_dir)/$(lib64subdir)/$(call mklibfilename,Slice,$(VERSION))
+ SLICEPARSERLIB = $(ice_cpp_dir)/$(lib64subdir)/$(call mklibfilename,Slice,$(VERSION))
endif
else
ifeq ($(UNAME),Darwin)
- SLICE2PY = /usr/local/bin/slice2py
+ SLICE2PY = /usr/local/bin/slice2py
else
- SLICE2PY = /usr/bin/slice2py
+ SLICE2PY = $(shell $(PYTHON) -c "import os, sys, slice2py; sys.stdout.write(os.path.normpath(os.path.join(slice2py.__file__, '..', '..', '..', '..', 'bin', 'slice2py')))")
endif
- SLICEPARSERLIB =
+ SLICEPARSERLIB =
endif
#