Added quotes around $(NM_PATH) argument to GenLibDeps.pl script so that
authorTed Kremenek <kremenek@apple.com>
Tue, 27 Nov 2007 17:53:54 +0000 (17:53 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 27 Nov 2007 17:53:54 +0000 (17:53 +0000)
the "-p" option is actually seen by nm (it was being dropped as it was
considered as separate argument to the Perl script).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44365 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-config/Makefile

index 20bd01a3e401474f1dee3acfdf94b3ad7fb2a1d0..5a42bc84cf286adc2d5e8160d8d6b4e086e7ef6d 100644 (file)
@@ -36,7 +36,7 @@ GenLibDeps   = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
 
 $(LibDepsTemp): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
        $(Echo) "Regenerating LibDeps.txt.tmp"
-       $(Verb) $(PERL) $(GenLibDeps) -flat $(LibDir) $(NM_PATH) > $(LibDepsTemp)
+       $(Verb) $(PERL) $(GenLibDeps) -flat $(LibDir) "$(NM_PATH)" > $(LibDepsTemp)
 
 $(LibDeps): $(LibDepsTemp)
        $(Verb) $(CMP) -s $@ $< || ( $(CP) $< $@ && \