Permalink
Browse files

debian/rules: make sure to remove the GLVND EGL libraries too

Thanks to Michael Marley for the fix.
  • Loading branch information...
1 parent 966c85d commit a391c65e64948e79e6de8e63645461362216a5e2 Alberto Milone committed Oct 9, 2017
Showing with 2 additions and 1 deletion.
  1. +2 −1 debian/rules
View
@@ -474,8 +474,9 @@ endif
find $(CURDIR)/debian/$(PKG_driver) -name 'libnvidia-opencl*.so*' | xargs /bin/rm -f
ifneq ($(DEB_HOST_ARCH),armhf)
- # Remove the non-GLVND libGL libraries
+ # Remove the non-GLVND libGL and libEGL libraries
find $(CURDIR)/debian/$(PKG_driver) -name "libGL.so.$(PKG_version)" | xargs /bin/rm -f
+ find $(CURDIR)/debian/$(PKG_driver) -name "libGL.so.$(PKG_version)" -o -name "libEGL.so.$(PKG_version)" | xargs /bin/rm -f
endif
# Part about $(PKG_libcuda1):

0 comments on commit a391c65

Please sign in to comment.