From 349c11e19dd8390b21551ac91b79d29352915706 Mon Sep 17 00:00:00 2001 From: Claudia Pellegrino Date: Fri, 13 Oct 2017 11:31:09 +0200 Subject: Fix ncurses path mismatch introduced in a9630e3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, macOS comes with the ncurses library installed at /usr/lib/libncurses.dylib; however with commit a9630e3 in late 2015, gptfdisk has added a line to Makefile.mac that references `/opt/local/lib/libncurses.a`. For most OS X/macOS users, this breaks the build because the file does not ship with macOS. For more info on the issue, see the relevant discussion on the Homebrew project. [1] The commit at hand changes that reference to /usr/lib/libncurses.dylib, which has shipped with OS X/macOS for many years, and is guaranteed to exist. [1]: https://github.com/Homebrew/legacy-homebrew/pull/46398#issuecomment–160473325 --- Makefile.mac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.mac') diff --git a/Makefile.mac b/Makefile.mac index ac5e773..6c0fa25 100644 --- a/Makefile.mac +++ b/Makefile.mac @@ -19,7 +19,7 @@ gdisk: $(LIB_OBJS) gpttext.o gdisk.o # $(CXX) $(LIB_OBJS) -L/usr/lib -licucore gpttext.o gdisk.o -o gdisk cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o - $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o /opt/local/lib/libncurses.a $(LDFLAGS) $(FATBINFLAGS) -o cgdisk + $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o /usr/lib/libncurses.dylib $(LDFLAGS) $(FATBINFLAGS) -o cgdisk # $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licucore -lncurses -o cgdisk sgdisk: $(LIB_OBJS) gptcl.o sgdisk.o -- cgit v1.2.1