Skip to content

Commit 5e9437b

Browse files
committed
No -ldl for FreeBSD
1 parent 8c14917 commit 5e9437b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ ifeq ($(UNAME),Darwin)
117117
endif
118118

119119
ifneq (MinGW,$(UNAME))
120-
LDFLAGS += -ldl
121-
LDLIBS += -ldl
120+
ifneq (FreeBSD,$(UNAME))
121+
LDFLAGS += -ldl
122+
LDLIBS += -ldl
123+
endif
122124
endif
123125

124126
ifneq ($(BUILD),shared)

0 commit comments

Comments
 (0)