File fix-dont-strip-on-package-build.patch of Package vmware-host-modules

--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ install: retiredcheck $(MODFILES)
 	        || ( echo "Version mismatch: module $$f $${mver}, kernel $(VM_UNAME)" ; exit 1 );\
 	done
 	install -D -t $(DESTDIR)$(MODDIR) $(MODFILES)
-	strip --strip-debug $(MODULES:%=$(DESTDIR)$(MODDIR)/%.ko)
+	if test -z "$(DESTDIR)"; then strip --strip-debug $(MODULES:%=$(DESTDIR)$(MODDIR)/%.ko); fi
 	if test -z "$(DESTDIR)"; then $(DEPMOD) -a $(VM_UNAME); fi
 
 clean: $(SUBDIRS)
openSUSE Build Service is sponsored by