Skip to content
Snippets Groups Projects
Commit 62a7963f authored by deuce's avatar deuce
Browse files

Linux/x86_64 uses libdl.so for dlopen() and friends, not libc.

parent c0bc3f8e
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,12 @@ ifeq ($(os),sunos) # Solaris
CFLAGS += -DNEED_CFMAKERAW
endif
ifeq ($(os),linux)
ifeq ($(shell uname -m),x86_64)
LDFLAGS += -ldl
endif
endif
ifdef USE_GUTS
CFLAGS += -I../guts -DGUTS_BUILTIN
OBJS += $(MTOBJODIR)$(DIRSEP)gutsz$(OFILE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment