1From f0c879097c331d1dabe6ee92b583a8badb62ea6d Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sat, 18 Mar 2017 08:26:35 -0700 4Subject: [PATCH] Makefile: Use LINKFLAGS during link step 5 6Adds much needed GNU_HASH section into the .so 7 8Signed-off-by: Khem Raj <raj.khem@gmail.com> 9--- 10 make/linux/Makefile | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/make/linux/Makefile b/make/linux/Makefile 14index 3ca7b0f..b5c9645 100644 15--- a/make/linux/Makefile 16+++ b/make/linux/Makefile 17@@ -104,7 +104,7 @@ $(LIBRARY): $(objects) 18 $(RANLIB) $@ 19 20 $(LIBRARY_SO): $(objects_so) 21- $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml 22+ $(CXX) $(LINKFLAGS) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml 23 rm -f $(LIBRARY_SO) 24 ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO) 25 26-- 272.12.0 28 29