1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-12 08:30:26 +00:00

For #240, address case when LDCONFIG is empty

This commit is contained in:
Calvin Rose 2020-03-03 18:13:25 -06:00
parent 7c2c50ee16
commit f06addfe06

View File

@ -47,13 +47,13 @@ LDCONFIG:=ldconfig "$(LIBDIR)"
UNAME:=$(shell uname -s) UNAME:=$(shell uname -s)
ifeq ($(UNAME), Darwin) ifeq ($(UNAME), Darwin)
CLIBS:=$(CLIBS) -ldl CLIBS:=$(CLIBS) -ldl
LDCONFIG:= LDCONFIG:=true
else ifeq ($(UNAME), Linux) else ifeq ($(UNAME), Linux)
CLIBS:=$(CLIBS) -lrt -ldl CLIBS:=$(CLIBS) -lrt -ldl
endif endif
# For other unix likes, add flags here! # For other unix likes, add flags here!
ifeq ($(UNAME), Haiku) ifeq ($(UNAME), Haiku)
LDCONFIG:= LDCONFIG:=true
LDFLAGS=-Wl,--export-dynamic LDFLAGS=-Wl,--export-dynamic
endif endif