--- microwindows-0.92/src/Makefile.rules-orig	2008-02-13 21:21:18.000000000 -0800
+++ microwindows-0.92/src/Makefile.rules	2008-02-13 21:20:55.000000000 -0800
@@ -569,9 +569,11 @@
 # If a shared object library name is specified, link this object
 #
 ifeq ($(SHAREDLIBS), Y)
+ifneq ($(LIBNAMESO),)
 $(MW_DIR_LIB)/$(LIBNAMESO): $(MW_DIR_LIB)/$(LIBNAME)
 	@echo "Creating shared library $(patsubst $(MW_DIR_LIB)/%,%,$@) ..."
 	$(CC) -shared -o $@ -Wl,--whole-archive $^ -Wl,--no-whole-archive
+endif
 endif
 
 #