Bug 710871 - Python site-packages not found when not installed to default location using --prefix

modified:   ../src/bin/Makefile.am

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23465 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Evans
2013-11-30 16:03:44 +00:00
parent da08312047
commit cb598dfd77
+8
View File
@@ -86,6 +86,14 @@ endif
echo "# and gsettings schemas are found." >> $@.tmp; \
echo "XDG_DATA_DIRS=$(datadir);{XDG_DATA_DIRS};${GNC_SYSTEM_XDG_DATA_DIRS}" >> $@.tmp; \
fi
if WITH_PYTHON
if [ "${PYTHON_SITE_PKG}" != "${pyexecdir}" ]; \
then \
echo >> $@.tmp; \
echo "# Define PYTHONPATH for non default installation path." >> $@.tmp; \
echo "PYTHONPATH=${pyexecdir};{PYTHONPATH}" >> $@.tmp; \
fi
endif
mv $@.tmp $@
CLEANFILES = $(BUILT_SOURCES) ${config_DATA} ${PLATFORM_FILES}