gimgtools
gimgtools copied to clipboard
Makefile patch link with iconv
diff --git a/Makefile b/Makefile
index f47094a..617e1e7 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,10 @@ GIMGLIB_OBJS = $(GIMGLIB_SOURCES:.c=.o)
all: gimginfo gimgfixcmd gimgxor gimgunlock gimgch gimgextract cmdc
gimginfo: gimginfo.o $(GIMGLIB_OBJS)
+ $(CC) -o $@ $^ -liconv
gimgfixcmd: gimgfixcmd.o cmdlib.o $(GIMGLIB_OBJS)
- $(CC) -o $@ $^ -lm
+ $(CC) -o $@ $^ -lm -liconv
gimgxor: gimgxor.o