6809317 On Cherrystone: picld fails if libraries are in the wrong order in the plugins directory
--- a/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/Makefile Thu Mar 19 03:03:46 2009 +0800
+++ b/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/Makefile Wed Mar 18 12:15:21 2009 -0700
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY= libpsvcplugin_psr.a
VERS= .1
@@ -55,7 +52,7 @@
LDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
LDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
-DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
+DYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
LDLIBS += -lc -lpicltree -lpicl -lpsvcobj -lpsvcplugin