From a4aae763829cd46c1b69a4895b89af364c0791af Mon Sep 17 00:00:00 2001 From: "Siddharth M. Bhatia" Date: Sun, 10 May 2026 14:47:54 -0700 Subject: [PATCH] Makefile.install: fix PKGFILE so it works with paths with spaces Note that the second setting of PKGFILE, at line 194, is redundant because that line was treated as a shell command which only assigned the variable for that line's invocation. --- Makefile.install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.install b/Makefile.install index 5fc6b9560c..e6720ccf2d 100644 --- a/Makefile.install +++ b/Makefile.install @@ -32,7 +32,7 @@ PKG_EXTRALIB := $(EXTRALIB) ifeq ($(INTERFACE64),1) SUFFIX64=64 endif -PKGFILE="$(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/$(LIBSONAMEBASE)$(SUFFIX64).pc" +PKGFILE := $(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/$(LIBSONAMEBASE)$(SUFFIX64).pc ifeq ($(USE_OPENMP), 1) ifeq ($(C_COMPILER), PGI) @@ -191,8 +191,6 @@ endif ifeq ($(INTERFACE64),1) SUFFIX64=64 endif - PKGFILE="$(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/$(LIBSONAMEBASE)$(SUFFIX64).pc" - @echo Generating $(LIBSONAMEBASE)$(SUFFIX64).pc in "$(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)" @echo 'libdir='$(OPENBLAS_LIBRARY_DIR) > "$(PKGFILE)" @echo 'libprefix='$(LIBNAMEPREFIX) >> "$(PKGFILE)"