mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 00:20:26 +00:00
For #240, address case when LDCONFIG is empty
This commit is contained in:
parent
7c2c50ee16
commit
f06addfe06
4
Makefile
4
Makefile
@ -47,13 +47,13 @@ LDCONFIG:=ldconfig "$(LIBDIR)"
|
||||
UNAME:=$(shell uname -s)
|
||||
ifeq ($(UNAME), Darwin)
|
||||
CLIBS:=$(CLIBS) -ldl
|
||||
LDCONFIG:=
|
||||
LDCONFIG:=true
|
||||
else ifeq ($(UNAME), Linux)
|
||||
CLIBS:=$(CLIBS) -lrt -ldl
|
||||
endif
|
||||
# For other unix likes, add flags here!
|
||||
ifeq ($(UNAME), Haiku)
|
||||
LDCONFIG:=
|
||||
LDCONFIG:=true
|
||||
LDFLAGS=-Wl,--export-dynamic
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user