Bläddra i källkod

macos: use more portable pwd instead of PWD

In nixpkgs we use coreutils and do not have PWD available.
This change have any downsides on normal macOS systems, but helps
nixpkgs packaging a bit.

Signed-off-by: Jörg Thalheim <[email protected]>
Jörg Thalheim 1 år sedan
förälder
incheckning
f9c6ee0181
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      make-mac.mk

+ 2 - 2
make-mac.mk

@@ -1,8 +1,8 @@
 CC=clang
 CC=clang
 CXX=clang++
 CXX=clang++
-TOPDIR=$(shell PWD)
+TOPDIR=$(shell pwd)
 
 
-INCLUDES=-I$(shell PWD)/rustybits/target -isystem $(TOPDIR)/ext  -I$(TOPDIR)/ext/prometheus-cpp-lite-1.0/core/include -I$(TOPDIR)/ext-prometheus-cpp-lite-1.0/3rdparty/http-client-lite/include -I$(TOPDIR)/ext/prometheus-cpp-lite-1.0/simpleapi/include
+INCLUDES=-I$(shell pwd)/rustybits/target -isystem $(TOPDIR)/ext  -I$(TOPDIR)/ext/prometheus-cpp-lite-1.0/core/include -I$(TOPDIR)/ext-prometheus-cpp-lite-1.0/3rdparty/http-client-lite/include -I$(TOPDIR)/ext/prometheus-cpp-lite-1.0/simpleapi/include
 DEFS=
 DEFS=
 LIBS=
 LIBS=
 ARCH_FLAGS=-arch x86_64 -arch arm64 
 ARCH_FLAGS=-arch x86_64 -arch arm64