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

OpenBSD does not support -rpath-link

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