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
commita5c2c7230e5b110cc08b585f1b70294395900de6 (patch)
tree7f71aa1c037fb2938688c167bd85f25e575a61f9
parent179306d57fcc813b18205a916f1cd448be610ded (diff)
downloadscintilla-mirror-a5c2c7230e5b110cc08b585f1b70294395900de6.tar.gz
Backport: Use ranlib everywhere so no special case on macOS.
Backport of changeset 7846:64f49fc46eee.
-rw-r--r--gtk/makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 83564bc9d..189a0030b 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