diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2022-03-08 03:56:13 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2022-03-11 08:07:52 +0100 |
commit | 87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe (patch) | |
tree | e63ac47d21490a300d597a685c3b34064dfe6b86 /src/ghdldrv/default_paths.ads.in | |
parent | 430d1ba5b09e4a2a20dc92156e5a1c69dd30bea0 (diff) | |
download | ghdl-87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe.tar.gz ghdl-87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe.tar.bz2 ghdl-87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe.zip |
mk: Introduce configure options for inc/libdirsuffix
This patch is based on one from the Debian ghdl packaging. We use it to
support coinstallability of the different ghdl backend executables. Force
prepending ghdl/ to the include path really doesn't help us with that any.
Note this effectively reverts 786ca17ce.
Diffstat (limited to 'src/ghdldrv/default_paths.ads.in')
-rw-r--r-- | src/ghdldrv/default_paths.ads.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ghdldrv/default_paths.ads.in b/src/ghdldrv/default_paths.ads.in index ec6b68d94..03addd784 100644 --- a/src/ghdldrv/default_paths.ads.in +++ b/src/ghdldrv/default_paths.ads.in @@ -21,8 +21,12 @@ package Default_Paths is Install_Prefix : constant String := "@INSTALL_PREFIX@"; - Lib_Prefix : constant String := - "@LIB_PREFIX@"; + LibDir_Suffix : constant String := + "@LIBDIR_SUFFIX@"; + LibGhdlDir_Suffix : constant String := + "@LIBGHDLDIR_SUFFIX@"; + IncDir_Suffix : constant String := + "@INCDIR_SUFFIX@"; Compiler_Gcc : constant String := "@COMPILER_GCC@"; |