diff --git a/Makefile b/Makefile
index d2171f68441fcd357f68b86158e0a2d53d2432e4..b81ec71d34f3f0e39d37f16e291dfc3560642610 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ DESTDIR=
 OBJECTS=shadow.o passwd.o group.o
 SHARED_OBJECT = libnss_extrausers.so.2
 CFLAGS = -g -O2 -Wall -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes
-LDFLAGS= -shared -Wl,-soname,$(SHARED_OBJECT) -Wl,-z,defs --no-allow-shlib-undefined
+LDFLAGS= -shared -Wl,-soname,$(SHARED_OBJECT) -Wl,-z,defs -Wl,--no-allow-shlib-undefined
 
 all: $(SHARED_OBJECT)