From 1e92b8751aa3a095e5c6fb05385191ecfea67dba Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Fri, 2 Feb 2024 21:28:57 -0600 Subject: [PATCH] trim -L flag from path --- Makefile-variables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile-variables b/Makefile-variables index ee9390d..5617174 100644 --- a/Makefile-variables +++ b/Makefile-variables @@ -1,6 +1,6 @@ PREFIX ?= /usr/local ifndef MACOS_VER_NUM -MACOS_VER_NUM := $(shell vtool -show-build $(shell pkg-config --libs-only-L getargv)/libgetargv.dylib | awk '/minos/{print $$2}') +MACOS_VER_NUM := $(shell vtool -show-build $(shell pkg-config --variable=libdir getargv)/libgetargv.dylib | awk '/minos/{print $$2}') endif MACOS_VER_MAJOR := $(shell echo $(MACOS_VER_NUM) | cut -f1 -d.) MACOS_VER_MINOR := $(shell echo $(MACOS_VER_NUM) | cut -f2 -d.)