diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-02-24 07:38:19 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-02-24 07:38:19 +0100 |
commit | 822e1031ab3aca255fa1eb39843cf63d7d86e9b0 (patch) | |
tree | 913c7a6ec0291e1c99c838e6e3f55af754c986b5 /src | |
parent | 7670533eacfe0d1be6c84efd8924bc804ae1feea (diff) | |
download | ghdl-822e1031ab3aca255fa1eb39843cf63d7d86e9b0.tar.gz ghdl-822e1031ab3aca255fa1eb39843cf63d7d86e9b0.tar.bz2 ghdl-822e1031ab3aca255fa1eb39843cf63d7d86e9b0.zip |
grt/Makefile.inc: do not use version-script on FreeBSD.
Fix #2358
Diffstat (limited to 'src')
-rw-r--r-- | src/grt/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc index 6a91dd20b..3bde2b834 100644 --- a/src/grt/Makefile.inc +++ b/src/grt/Makefile.inc @@ -80,7 +80,10 @@ else GRT_EXTRA_LIB=-ldl -lm GRT_EXEC_OPTS=$(GRT_ELF_EXEC_OPTS) endif - ifeq ($(filter-out netbsd freebsd% dragonfly%,$(osys)),) + ifeq ($(filter-out freebsd%,$(osys)),) + GRT_EXTRA_LIB=-lm + endif + ifeq ($(filter-out netbsd dragonfly%,$(osys)),) GRT_EXTRA_LIB=-lm GRT_EXEC_OPTS=$(GRT_ELF_EXEC_OPTS) endif |