From 55263ed9cd0be05f41fe8d6a840663c5c75bf084 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 7 Oct 2010 21:33:47 +0000 Subject: [PATCH] Link libcaca with -lgnugetopt if necessary. --- caca/Makefile.am | 2 +- src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/caca/Makefile.am b/caca/Makefile.am index f700d42..2068082 100644 --- a/caca/Makefile.am +++ b/caca/Makefile.am @@ -55,7 +55,7 @@ libcaca_la_DEPENDENCIES = \ $(NULL) libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__ libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@ -libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS) +libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS) $(GETOPT_LIBS) codec_source = \ codec/import.c \ diff --git a/src/Makefile.am b/src/Makefile.am index 4654344..f27f553 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -32,7 +32,7 @@ cacaserver_LDADD = ../caca/libcaca.la img2txt_SOURCES = img2txt.c $(GETOPT) common-image.c common-image.h img2txt_LDADD = ../caca/libcaca.la img2txt_CFLAGS = $(IMLIB2_CFLAGS) -img2txt_LDFLAGS = $(IMLIB2_LIBS) $(GETOPT_LIBS) +img2txt_LDFLAGS = $(IMLIB2_LIBS) if USE_NETWORK fcntl_programs = cacaserver