--- a/components/coreutils/Makefile Tue Aug 27 05:46:53 2013 -0700
+++ b/components/coreutils/Makefile Wed Aug 28 10:17:10 2013 -0700
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
@@ -42,6 +42,9 @@
CONFIGURE_OPTIONS += CPPFLAGS=-I/usr/include/gmp
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
+# To allow stdbuf to correctly find /usr/lib/libstdbuf.so
+COMPONENT_BUILD_ARGS += pkglibexecdir=/usr/lib
+
# common targets
build: $(BUILD_32)