Fixed typo in makefiles (should be -Wl, not -W1)

This commit is contained in:
Will Furnass
2013-10-08 17:37:51 +01:00
parent 6674997789
commit 3a3d0bdc06
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ docdir = $(datarootdir)/doc/epanet
CC = gcc CC = gcc
CFLAGS = -g -O3 -fPIC CFLAGS = -g -O3 -fPIC
CPPFLAGS = -I $(epanetincludedir) CPPFLAGS = -I $(epanetincludedir)
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm
# Installer # Installer
INSTALL = install INSTALL = install

View File

@@ -59,7 +59,7 @@ docdir = $(datarootdir)/doc/epanet
CC = gcc CC = gcc
CFLAGS = -g -O3 -fPIC CFLAGS = -g -O3 -fPIC
CPPFLAGS = -I $(epanetincludedir) CPPFLAGS = -I $(epanetincludedir)
LDFLAGS = -L . -W1,-rpath,$(libdir) -lm LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm
# Installer # Installer
INSTALL = install INSTALL = install