mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user