summaryrefslogtreecommitdiff
path: root/packages/microwindows/files/makefilerules.patch
blob: 67b8e2e0d27bab4e91b786804a58e5e3835f6d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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
 
 #