From 1b283c47b4626273cc5507e1dff1fc42e198181c Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 20 Sep 2019 13:13:05 -0500 Subject: [PATCH] Remove macos update_dyld_shared_cache This just doesn't work well for a non global install. It is better packages that need this to run it themselves. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 158bff0a..54c434a4 100644 --- a/Makefile +++ b/Makefile @@ -42,13 +42,13 @@ CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fpic -O2 -fvisibility=hi LDFLAGS=-rdynamic # For installation -LDCONFIG:=ldconfig +LDCONFIG:=ldconfig "$(LIBDIR)" # Check OS UNAME:=$(shell uname -s) ifeq ($(UNAME), Darwin) CLIBS:=$(CLIBS) -ldl - LDCONFIG:=update_dyld_shared_cache + LDCONFIG:= else ifeq ($(UNAME), Linux) CLIBS:=$(CLIBS) -lrt -ldl endif @@ -311,7 +311,7 @@ install: $(JANET_TARGET) build/janet.pc cp jpm.1 '$(MANPATH)' mkdir -p '$(PKG_CONFIG_PATH)' cp build/janet.pc '$(PKG_CONFIG_PATH)/janet.pc' - -$(LDCONFIG) $(LIBDIR) + -$(LDCONFIG) uninstall: -rm '$(BINDIR)/janet'