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)
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user