summaryrefslogtreecommitdiff
blob: 05957269888eddca9a92f2b45aede44d1daada38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ur odt2txt-0.4/Makefile odt2txt-0.4/Makefile
--- odt2txt-0.4/Makefile	2008-06-23 23:32:28 +0400
+++ odt2txt-0.4/Makefile	2010-05-24 15:39:16 +0400
@@ -56,6 +56,9 @@
 	CFLAGS += -I$(ZLIB_DIR)
 	LIBS = $(ZLIB_DIR)/libz.a
 endif
+ifeq ($(UNAME_S),Darwin)
+	LIBS += -liconv
+endif
 ifeq ($(UNAME_O),Cygwin)
 	CFLAGS += -DICONV_CHAR="const char"
 	LIBS += -liconv