Skip to content
Snippets Groups Projects
Commit 7844f681 authored by deuce's avatar deuce
Browse files

OpenBSD does not support -rpath-link

parent 7c35bc4c
Branches
Tags
No related merge requests found
......@@ -179,10 +179,12 @@ vpath %.cpp $(UIFC)
LFLAGS += -L./$(LIBODIR)
SBBSLDFLAGS := $(LFLAGS) -rpath-link ./$(LIBODIR) -rpath ./
#LFLAGS += -Wl,-rpath-link,./$(LIBODIR),-rpath,./
LFLAGS += -Xlinker -rpath-link
LFLAGS += -Xlinker ./$(LIBODIR)
LFLAGS += -Xlinker -rpath
LFLAGS += -Xlinker .
ifneq ($(os),openbsd)
LFLAGS += -Xlinker -rpath-link
LFLAGS += -Xlinker ./$(LIBODIR)
endif
ifeq ($(os),freebsd)
LFLAGS += -pthread
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment