LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 2048-cli-link-against-correct-curses-lib.patch of Package 2048-cli (Project openSUSE:Factory)

diff --git a/Makefile b/Makefile
index 0003ea0..0d566d1 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ FILTERED_C_FILES := $(filter-out src/gfx%.c src/merge%.c, $(C_FILES))
 all: terminal
 
 curses: $(FILTERED_C_FILES) src/gfx_curses.c
-	$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_curses.c -o $(PROGRAM) $(LDFLAGS) -lcurses
+	$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_curses.c -o $(PROGRAM) $(LDFLAGS) -lncurses
 
 terminal: $(FILTERED_C_FILES) src/gfx_terminal.c
 	$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_terminal.c -o $(PROGRAM) $(LDFLAGS)