summaryrefslogtreecommitdiff
path: root/recipes/microwindows/files/makefilerules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/microwindows/files/makefilerules.patch')
-rw-r--r--recipes/microwindows/files/makefilerules.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/microwindows/files/makefilerules.patch b/recipes/microwindows/files/makefilerules.patch
new file mode 100644
index 0000000000..67b8e2e0d2
--- /dev/null
+++ b/recipes/microwindows/files/makefilerules.patch
@@ -0,0 +1,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
+
+ #