diff --git a/Makefile/Makefile.Linux b/Makefile/Makefile.Linux index 50d07d5c2..56dadbe8f 100644 --- a/Makefile/Makefile.Linux +++ b/Makefile/Makefile.Linux @@ -1,9 +1,9 @@ CXX = $(LARLITE_CXX) -LD = g++ +LD = $(LARLITE_CXX) LDFLAGS += -Wl,-rpath,$(LARLITE_BASEDIR)/lib FFLAGS += -Wall FLDFLAGS += -lstdc++ -shared CXXFLAGS += -g -O3 $(LARLITE_CXXSTDFLAG) -W -Wall -Wno-deprecated -fPIC -D_CORE_$(shell uname -s)_ -SOMAKER = g++ +SOMAKER = $(LARLITE_CXX) SOFLAGS = -g -fPIC -shared