Skip to content

Commit

Permalink
debian/rules: make sure to remove the GLVND EGL libraries too
Browse files Browse the repository at this point in the history
Thanks to Michael Marley for the fix.
  • Loading branch information
Alberto Milone committed Oct 9, 2017
1 parent 966c85d commit a391c65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debian/rules
Expand Up @@ -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):
Expand Down

0 comments on commit a391c65

Please sign in to comment.