--- is_utf8/Makefile
+++ is_utf8/Makefile
@@ -41,7 +41,7 @@ CC = gcc
 CFLAGS = -O3 -Wextra -Wall -ansi -Wstrict-prototypes
 
 $(NAME): $(OBJ)
-	$(CC) $(CFLAGS) -o $(NAME) $(OBJ)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $(NAME) $(OBJ) $(LOADLIBES) $(LDLIBS)
 
 IS_UTF8_LIB:
 	$(CC) --shared -fPIC $(CFLAGS) $(LIB_SRC) -o $(LINKERNAME)
