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
Branches
Tags
No related merge requests found
...@@ -50,6 +50,12 @@ ifeq ($(os),sunos) # Solaris ...@@ -50,6 +50,12 @@ ifeq ($(os),sunos) # Solaris
CFLAGS += -DNEED_CFMAKERAW CFLAGS += -DNEED_CFMAKERAW
endif endif
ifeq ($(os),linux)
ifeq ($(shell uname -m),x86_64)
LDFLAGS += -ldl
endif
endif
ifdef USE_GUTS ifdef USE_GUTS
CFLAGS += -I../guts -DGUTS_BUILTIN CFLAGS += -I../guts -DGUTS_BUILTIN
OBJS += $(MTOBJODIR)$(DIRSEP)gutsz$(OFILE) OBJS += $(MTOBJODIR)$(DIRSEP)gutsz$(OFILE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment