]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
bundle: do not bundle libstdc++, pango, and some remaining X11 stuff on Linux
authorThomas Debesse <dev@illwieckz.net>
Mon, 5 Aug 2019 18:07:29 +0000 (20:07 +0200)
committerThomas Debesse <dev@illwieckz.net>
Mon, 5 Aug 2019 18:54:14 +0000 (20:54 +0200)
- it's a bad idea to bundle libstdc++ as it may conflict in non-obvious manner
  (like failing on X11 stuff)
- pango is known to conflict with newer distros
- no need to bundle libICE and libSM since we expect user to have a working x11 install

library-bundler

index ceac213fc61a4d99e667b9dc7f14de2664fcc1fe..ea276cea7230f955dc50d3a2ff3d5252329cd77b 100755 (executable)
@@ -45,9 +45,9 @@ Multi::excludeLdd () {
                        # - since we ask user to instal gtk, we can also ask them to install gtkglext,
                        #   which is likely to pull gtk itself, x11 and gl dependencies
                        # - old fontconfig does not work correctly if newer fontconfig configuration is installed
-                       # - if gtk and fontconfig is installed, freetype is
-                       egrep -v '/libc\.|/libdl\.|/libm\.|/libX|/libxcb|/libGL' \
-                       | egrep -v '/libatk|/libgdk|/libgtk|/libgio|/libglib|/libgmodule|/libgobject|/libfontconfig|/libfreetype'
+                       # - if gtk and fontconfig is installed, pango and freetype are
+                       egrep -v '/libc\.|/libstdc\+\+\.|/libdl\.|/libm\.|/libX|/libxcb|/libGL|/libICE\.|/libSM\.' \
+                       | egrep -v '/libatk|/libgdk|/libgtk|/libgio|/libglib|/libgmodule|/libgobject|/libpango|/libfontconfig|/libfreetype'
                        ;;
                'windows')
                        egrep -i '\.dll => [A-Z]:\\msys64\\' \