diff options
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 |