Skip to content
Snippets Groups Projects
Commit ebc581c0 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

For NetBSD, add $ORIGIN and $ORIGIN/../$(LIBODIR) to the RPATH

parent 9be7a994
No related branches found
No related tags found
No related merge requests found
Pipeline #7804 canceled
......@@ -166,6 +166,9 @@ endif
ifeq ($(os),darwin)
LIB_RPATH := -Wl,$(RPATH),@executable_path,$(RPATH),@executable_path/../$(LIBODIR)
endif
ifeq ($(os), netbsd)
LIB_RPATH := '-Wl,-rpath,$$ORIGIN,-rpath,$$ORIGIN/../$(LIBODIR),-z,origin'
endif
CFLAGS += $(JS_CFLAGS) $(CRYPT_CFLAGS) $(UIFC-MT_CFLAGS) $(XPDEV-MT_CFLAGS) $(SMBLIB_CFLAGS) $(CIOLIB-MT_CFLAGS) $(ENCODE_CFLAGS) $(HASH_CFLAGS)
CFLAGS += -I../comio
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment