From 061341ed5945d7808fd82ab840c6d673bee12389 Mon Sep 17 00:00:00 2001 From: mz-fuzzy Date: Mon, 4 Apr 2016 22:24:17 -0700 Subject: [PATCH] linux_examples makefile: move libs after source files in c++ build command line. Fix for ubunutu compilation. Signed-off-by: mz-fuzzy --- examples_linux/Makefile.examples | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples_linux/Makefile.examples b/examples_linux/Makefile.examples index 114d1d093..a03483e10 100644 --- a/examples_linux/Makefile.examples +++ b/examples_linux/Makefile.examples @@ -22,7 +22,7 @@ endif all: $(PROGRAMS) $(PROGRAMS): $(SOURCES) - $(CXX) $(CFLAGS) -I$(HEADER_DIR)/.. -I.. -L$(LIB_DIR) $(LIBS) $@.cpp -o $@ + $(CXX) $(CFLAGS) -I$(HEADER_DIR)/.. -I.. -L$(LIB_DIR) $@.cpp $(LIBS) -o $@ clean: @echo "[Cleaning]"