From: Patrick G. Bridges Date: Tue, 17 Jan 2012 17:54:07 +0000 (-0700) Subject: minor changes to allow proper static linking of the ncurses programs X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce455c053ec3bc5fe653732919a06dcaf4a94811;p=palacios.git minor changes to allow proper static linking of the ncurses programs --- diff --git a/linux_usr/Makefile b/linux_usr/Makefile index 5bdf906..8c5109c 100644 --- a/linux_usr/Makefile +++ b/linux_usr/Makefile @@ -20,8 +20,8 @@ v3_mem : v3_mem.c v3_ctrl.h gcc -static v3_mem.c -o v3_mem v3_cons : v3_cons.c v3_cons_sc.c v3_ctrl.h - gcc -static v3_cons.c -o v3_cons -lcurses - gcc -static v3_cons_sc.c -o v3_cons_sc -lcurses + gcc -static -DNCURSES_STATIC v3_cons.c -o v3_cons -lcurses + gcc -static -DNCURSES_STATIC v3_cons_sc.c -o v3_cons_sc -lcurses v3_stream : v3_stream.c v3_ctrl.h gcc -static v3_stream.c -o v3_stream