Skip to content

Instantly share code, notes, and snippets.

@lidaobing
Created May 3, 2012 13:03
Show Gist options
  • Save lidaobing/2585471 to your computer and use it in GitHub Desktop.
Save lidaobing/2585471 to your computer and use it in GitHub Desktop.
diff --git a/Makefile.in b/Makefile.in
index 7cdb9aa..93afc5b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -207,7 +207,7 @@ AC_CFLAGS = -Wall @ICONV_INCLUDES@ @OS_TYPE@
ACLOCAL_AMFLAGS = -I m4
cconv_SOURCES = cconv.c main.c unicode.c
cconv_CFLAGS = ${AC_CFLAGS}
-cconv_LDFLAGS = @ICONV_LIBS@
+cconv_LDFLAGS = @ICONV_LIBS@ -liconv
lib_LTLIBRARIES = libcconv.la
libcconv_la_SOURCES = cconv.c unicode.c
libcconv_la_CFLAGS = -Wall @ICONV_INCLUDES@ @OS_TYPE@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment