From e36f7809266b8e565639c981023bd75861bbffaa Mon Sep 17 00:00:00 2001 From: Narine Mossikyan Date: Mon, 5 Feb 2018 16:47:08 -0800 Subject: [PATCH] OMI binding fix --- build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 22d49a32f..687b1c597 100644 --- a/build/Makefile +++ b/build/Makefile @@ -61,7 +61,7 @@ endif # Need to use RUBY_COMPILE_FLAGS when compiling code that uses C Ruby interfaces # (Note that "-Wshadow -Wredundant-decls" don't work with Ruby v2.3.3) RUBY_COMPILE_FLAGS := $(DEBUG_FLAGS) -D_REENTRANT -fstack-protector-all -Wall -fno-nonansi-builtins -Woverloaded-virtual -Wformat -Wformat-security -Wcast-align -Wswitch-enum -Wwrite-strings -Werror -Wcast-qual -fPIC # -Wshadow -Wredundant-decls -PLUGIN_LINK_LIBRARIES := -L$(OMI_LIBRARY_DIR) -lrt -pthread -lmiapi -lprotocol -lsock -lbase -lpal -lwsman +PLUGIN_LINK_LIBRARIES := -Wl,-rpath=/opt/omi/lib -L$(OMI_LIBRARY_DIR) -lrt -pthread -lmi SHARED_FLAGS := -shared # Support for installbuilder