changeset 1687:aa8bbf970aae trunk

[svn] Just saw another bug in the same line. The if was always false.
author js
date Thu, 14 Sep 2006 07:40:39 -0700
parents 2ffec123f57a
children a8f3d8db01a2
files ChangeLog mk/objective.mk
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Sep 14 07:38:06 2006 -0700
+++ b/ChangeLog	Thu Sep 14 07:40:39 2006 -0700
@@ -1,3 +1,14 @@
+2006-09-14 14:38:06 +0000  Jonathan Schleifer <js@h3c.de>
+  revision [2309]
+  Fixed mk/objective.mk so that there won't be any
+  [: ==: unexpected operator
+  error messages anymore. (This occoured with BSD make _AND_ gmake!)
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/mk/objective.mk  
+
+
 2006-09-14 01:59:47 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2307]
   - Avoid trying to regenerate parse.c. Regeneration is unnecessary in usual case and requires lemon as parser generator.
--- a/mk/objective.mk	Thu Sep 14 07:38:06 2006 -0700
+++ b/mk/objective.mk	Thu Sep 14 07:40:39 2006 -0700
@@ -179,7 +179,7 @@
 	if [ "x$(OBJECTS)" != "x" ]; then \
 		$(MAKE) $(OBJECTS) || exit;		\
 		printf "%10s     %-20s\n" LINK $@; \
-		(if [ "x$(SHARED_SUFFIX)" = "so" ]; then \
+		(if [ "x$(SHARED_SUFFIX)" = "xso" ]; then \
 			(if [ "x$(OBJECTIVE_SONAME_SUFFIX)" != "x" ]; then \
 				$(CC) $(PICLDFLAGS) -o $@ -Wl,-soname=$@.$(OBJECTIVE_SONAME_SUFFIX) $(OBJECTS) $(LDFLAGS) $(LIBADD); \
 			else \