From 30f966fa968e966465df2ef47a84976f8d598cdb Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 13 Sep 2013 07:07:11 +0000 Subject: [PATCH 1/1] build: ldflags conversion: libcurses. Straight-forward as only para_gui depends on the curses lib. --- Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5c032948..3ed44475 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40,6 +40,7 @@ openssl_ldflags := @openssl_ldflags@ gcrypt_ldflags := @gcrypt_ldflags@ socket_ldflags := @socket_ldflags@ nsl_ldflags := @nsl_ldflags@ +curses_ldflags := @curses_ldflags@ build_date := $(shell date) uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") @@ -277,7 +278,7 @@ para_recv para_afh para_play para_server: LDFLAGS += $(id3tag_ldflags) para_write para_play para_audiod: LDFLAGS += $(ao_ldflags) para_client para_audioc para_play : LDFLAGS += $(readline_ldflags) para_server: LDFLAGS += $(osl_ldflags) - +para_gui: LDFLAGS += $(curses_ldflags) para_server \ para_client \ para_audiod \ @@ -336,7 +337,7 @@ para_client: $(client_objs) para_gui: $(gui_objs) @[ -z "$(Q)" ] || echo 'LD $@' - $(Q) $(CC) -o $@ $(gui_objs) @curses_ldflags@ $(LDFLAGS) + $(Q) $(CC) -o $@ $(gui_objs) $(LDFLAGS) para_audiod: $(audiod_objs) @[ -z "$(Q)" ] || echo 'LD $@' -- 2.39.2