use LD (repvik_at_online_dot_no)
diff --git a/Makefile b/Makefile
index 9ce96ce..89d3ea0 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@
 	$(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
 
 ebtables: $(OBJECTS)
-	ld -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
+	$(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
 	$(CC) $(CFLAGS) -o $@ ebtables.o -I$(KERNEL_INCLUDES) -L/root/ \
 	-L. -Lextensions/ -lebtc $(EXT_LIBSI)