Created
November 29, 2020 01:56
-
-
Save adsr/4967cd98e07152391ec81c7dcaff6c89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Makefile b/Makefile | |
| index f53eef2..a7581bb 100644 | |
| --- a/Makefile | |
| +++ b/Makefile | |
| @@ -12,7 +12,8 @@ termbox_ld_soname:=soname | |
| termbox_a:=libtermbox.a | |
| termbox_h:=termbox.h | |
| -ifeq ($(shell uname), Darwin) | |
| +$(shell $(LD) -install_name x /dev/null 2>/dev/null) | |
| +ifeq ($(.SHELLSTATUS), 0) | |
| termbox_so:=libtermbox.dylib | |
| termbox_so_x:=libtermbox.$(termbox_so_version_abi).dylib | |
| termbox_so_x_y_z:=libtermbox.$(termbox_so_version_abi).$(termbox_so_version_minor_patch).dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment