gimgtools icon indicating copy to clipboard operation
gimgtools copied to clipboard

Makefile patch link with iconv

Open razor opened this issue 10 years ago • 0 comments

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

razor avatar Dec 18 '14 07:12 razor