Skip to content

Commit

Permalink
don’t confuse libgetargv++ PREFIX and c lib PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Feb 3, 2024
1 parent 166fb65 commit 0c8b4a3
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 $(PREFIX)/lib/libgetargv.dylib | awk '/minos/{print $$2}')
MACOS_VER_NUM := $(shell vtool -show-build $(shell pkg-config --libs-only-L 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 0c8b4a3

Please sign in to comment.