From 994c50e43c5a8169881a6529411cd9e92991bfd1 Mon Sep 17 00:00:00 2001 From: Brandon Bayer Date: Mon, 14 Dec 2015 13:20:23 -0600 Subject: fix: add LDFLAGS to Makefile for shared lib build pre-gcc/++ 4.5 compiler (MTR) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04855ef..00cb5d6 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ libmts.a: $(OBJS) libmts.so.0: $(OBJS) @echo 'Building target: $@' - $(CXX) -shared -Wl,-soname,$@ -o libmts.so.$(VERSION) $(OBJS) $(LIBS) + $(CXX) $(LDFLAGS) -shared -Wl,-soname,$@ -o libmts.so.$(VERSION) $(OBJS) $(LIBS) @echo 'Finished building target: $@' @echo ' ' -- cgit v1.2.3