mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Always add share/scm to GUILE_LOAD_PATH
Any scm file that will be built may need access to other scheme files that may have been linked into that directory. As it was only scm files that would be linked themselves would also be built with the search path set, causing other linked files not to be found for an scm file that doesn't add a link for itself.
This commit is contained in:
parent
9ec5eab714
commit
8aa696223b
@ -90,9 +90,7 @@ function(make_scheme_targets _TARGET _SOURCE_FILES _OUTPUT_DIR _GUILE_DEPENDS
|
||||
list(APPEND _GUILE_LOAD_COMPILED_PATH ${guile_load_compiled_path})
|
||||
endif()
|
||||
set(_GUILE_CACHE_DIR ${LIBDIR_BUILD}/gnucash/scm/ccache/${GUILE_EFFECTIVE_VERSION})
|
||||
if (MAKE_LINKS)
|
||||
list(APPEND _GUILE_LOAD_PATH "${build_datadir}/gnucash/scm")
|
||||
endif()
|
||||
list(APPEND _GUILE_LOAD_PATH "${build_datadir}/gnucash/scm")
|
||||
list(APPEND _GUILE_LOAD_COMPILED_PATH ${build_libdir}/gnucash/scm/ccache/${GUILE_EFFECTIVE_VERSION})
|
||||
|
||||
set(_TARGET_FILES "")
|
||||
|
Loading…
Reference in New Issue
Block a user