aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-29 10:06:40 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-29 10:06:40 +1100
commit8b29b5c8ef991de37a3c6bca83394b402e481e09 (patch)
tree640e3b8c87549197aeeacceff5efa7d347377814
parent2ba73fb5102f510c93f69a9a4b34954227eddca6 (diff)
downloadscintilla-mirror-8b29b5c8ef991de37a3c6bca83394b402e481e09.tar.gz
Use ranlib everywhere so no special case on macOS.
-rw-r--r--gtk/makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/makefile b/gtk/makefile
index dd030061d..d91d8e934 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -23,7 +23,7 @@ else
CXXWARNFLAGS = -Wall -pedantic
endif
ARFLAGS = rc
-RANLIB = touch
+RANLIB ?= ranlib
ifdef GTK3
GTKVERSION=gtk+-3.0
@@ -33,12 +33,6 @@ endif
# Environment variable windir always defined on Win32
-ifndef windir
-ifeq ($(shell uname),Darwin)
-RANLIB = ranlib
-endif
-endif
-
# Enable Position Independent Code except on Windows where it is the default so the flag produces a warning
ifndef windir
PICFLAGS = -fPIC