Skip to content

Commit

Permalink
trim -L flag from path
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Feb 3, 2024
1 parent c3f03f0 commit 1e92b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile-variables
Original file line number Diff line number Diff line change
@@ -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.)
Expand Down

0 comments on commit 1e92b87

Please sign in to comment.