Andreas Wacknitz
2024-02-11 7a33deb1fbc9190baa4495fdd481297c3a8fe3c0
make-rules/cmake.mk: switch to new libexec dir

1 files modified
13 ■■■■ changed files
make-rules/cmake.mk 13 ●●●● patch | view | raw | blame | history
make-rules/cmake.mk
@@ -76,8 +76,17 @@
endif
CMAKE_LIBDIR.32 =    lib
CMAKE_LIBDIR.64 =    lib/$(MACH64)
CMAKE_LIBEXECDIR.32 =    lib
CMAKE_LIBEXECDIR.64 =    lib/$(MACH64)
# If the component prefers 64-bit binaries, then ensure builds deliver 64-bit
# binaries to the standard directories and 32-bit binaries to the non-standard
# location.  This allows simplification of package manifests and makes it
# easier to deliver the 64-bit binaries as the default.
ifeq ($(strip $(PREFERRED_BITS)),64)
CMAKE_LIBEXECDIR.32 =    libexec/$(MACH32)
CMAKE_LIBEXECDIR.64 =    libexec
else
CMAKE_LIBEXECDIR.32 =    libexec
CMAKE_LIBEXECDIR.64 =    libexec/$(MACH64)
endif
CMAKE_INCLUDEDIR =    include
CMAKE_DATAROOTDIR =    share
CMAKE_DATADIR =        $(CMAKE_DATAROOTDIR)