Petr Gajdos
9d924ad019
- libgd-config.patch: do not inject false dependencies into packages, GD does not need extra libs to be used. this also allows us to clean up -devel package dependencies. OBS-URL: https://build.opensuse.org/request/show/586392 OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=46
23 lines
638 B
Diff
23 lines
638 B
Diff
Index: libgd-2.2.5/config/gdlib-config.in
|
|
===================================================================
|
|
--- libgd-2.2.5.orig/config/gdlib-config.in
|
|
+++ libgd-2.2.5/config/gdlib-config.in
|
|
@@ -74,7 +74,7 @@ while test $# -gt 0; do
|
|
echo @LDFLAGS@
|
|
;;
|
|
--libs)
|
|
- echo -lgd @LIBS@ @LIBICONV@
|
|
+ echo -lgd
|
|
;;
|
|
--cflags|--includes)
|
|
echo -I@includedir@
|
|
@@ -87,7 +87,7 @@ while test $# -gt 0; do
|
|
echo "includedir: $includedir"
|
|
echo "cflags: -I@includedir@"
|
|
echo "ldflags: @LDFLAGS@"
|
|
- echo "libs: @LIBS@ @LIBICONV@"
|
|
+ echo "libs: -lgd"
|
|
echo "libdir: $libdir"
|
|
echo "features: @FEATURES@"
|
|
;;
|