summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 06:28:03 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 06:28:03 +0000
commit88b2f1aa74e8fe0b4413a4f807681fd427071184 (patch)
treedc2c635b65aadc0559aa66b19cff36bd6fd8bdb5 /native_client_sdk
parenta1ea2aff6dee591dbf656a892e6358fb2b35e383 (diff)
downloadchromium_src-88b2f1aa74e8fe0b4413a4f807681fd427071184.zip
chromium_src-88b2f1aa74e8fe0b4413a4f807681fd427071184.tar.gz
chromium_src-88b2f1aa74e8fe0b4413a4f807681fd427071184.tar.bz2
Fix missing $
mkdir is incorrectly expanded, so that target directory for LIB will not actually get created. This will sometimes cause a build issue. TBR=binji@chromium.org BUG=169044 Review URL: https://codereview.chromium.org/11946039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rw-r--r--native_client_sdk/src/tools/host_gcc.mk2
-rw-r--r--native_client_sdk/src/tools/host_vc.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/native_client_sdk/src/tools/host_gcc.mk b/native_client_sdk/src/tools/host_gcc.mk
index 4f85a0c..ec1d4d6 100644
--- a/native_client_sdk/src/tools/host_gcc.mk
+++ b/native_client_sdk/src/tools/host_gcc.mk
@@ -77,7 +77,7 @@ endef
define LIB_RULE
all:$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/lib$(1).a
$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/lib$(1).a : $(foreach src,$(2),$(OUTDIR)/$(basename $(src)).o)
- $(MKDIR) -p $(dir $$@)
+ $(MKDIR) -p $$(dir $$@)
$(HOST_LIB) $$@ $$^
endef
diff --git a/native_client_sdk/src/tools/host_vc.mk b/native_client_sdk/src/tools/host_vc.mk
index 6413c09..f395356 100644
--- a/native_client_sdk/src/tools/host_vc.mk
+++ b/native_client_sdk/src/tools/host_vc.mk
@@ -70,7 +70,7 @@ endef
define LIB_RULE
all:$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/$(1).lib
$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/$(1).lib : $(foreach src,$(2),$(OUTDIR)/$(basename $(src)).o)
- $(MKDIR) -p $(dir $$@)
+ $(MKDIR) -p $$(dir $$@)
$(HOST_LIB) $$@ $$^ $(WIN_LDFLAGS)
endef