From 3a3d0bdc0655e818c4538224af43c8c66191bac8 Mon Sep 17 00:00:00 2001 From: Will Furnass Date: Tue, 8 Oct 2013 17:37:51 +0100 Subject: [PATCH] Fixed typo in makefiles (should be -Wl, not -W1) --- build/Linux/Makefile | 2 +- build/Linux/Makefile_Rev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Linux/Makefile b/build/Linux/Makefile index 2a0a396..d08b6df 100755 --- a/build/Linux/Makefile +++ b/build/Linux/Makefile @@ -56,7 +56,7 @@ docdir = $(datarootdir)/doc/epanet CC = gcc CFLAGS = -g -O3 -fPIC CPPFLAGS = -I $(epanetincludedir) -LDFLAGS = -L . -W1,-rpath,$(libdir) -lm +LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm # Installer INSTALL = install diff --git a/build/Linux/Makefile_Rev b/build/Linux/Makefile_Rev index f6e33bc..488e471 100755 --- a/build/Linux/Makefile_Rev +++ b/build/Linux/Makefile_Rev @@ -59,7 +59,7 @@ docdir = $(datarootdir)/doc/epanet CC = gcc CFLAGS = -g -O3 -fPIC CPPFLAGS = -I $(epanetincludedir) -LDFLAGS = -L . -W1,-rpath,$(libdir) -lm +LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm # Installer INSTALL = install