diff options
author | Claudia Pellegrino <claui@users.sourceforge.net> | 2017-10-13 11:31:09 +0200 |
---|---|---|
committer | Claudia Pellegrino <claui@users.sourceforge.net> | 2017-10-13 13:15:00 +0200 |
commit | 349c11e19dd8390b21551ac91b79d29352915706 (patch) | |
tree | 631435ea51c6d41ce5e07455671445c16e3636ce | |
parent | 643126a53c3213ad8ae5c787836c1ec074d14eba (diff) | |
download | sgdisk-349c11e19dd8390b21551ac91b79d29352915706.tar.gz |
Fix ncurses path mismatch introduced in a9630e3
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
-rw-r--r-- | Makefile.mac | 2 |
1 files changed, 1 insertions, 1 deletions
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 |