17338978 stdbuf searching for libstdbuf.so in wrong place s11-update
authorRich Burridge <rich.burridge@oracle.com>
Wed, 28 Aug 2013 10:17:10 -0700
branchs11-update
changeset 2754 da1498ba96f6
parent 2753 14e5111571b5
child 2756 b74a19d95214
17338978 stdbuf searching for libstdbuf.so in wrong place
components/coreutils/Makefile
--- 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)