]> granicus.if.org Git - php/commitdiff
Fixed the undefined reference to 'gdttf' errors when using bundled GD lib.
authorfoobar <sniper@php.net>
Sat, 13 Jul 2002 04:06:26 +0000 (04:06 +0000)
committerfoobar <sniper@php.net>
Sat, 13 Jul 2002 04:06:26 +0000 (04:06 +0000)
# I removed that in the first place..don't remember why. :(

ext/gd/config.m4

index 527d5afedd41bc474f40b7feca15ffba7d9ce1d2..e884a91cfe334b9c1ac4927544b9ebc2bbc054ac 100644 (file)
@@ -237,7 +237,7 @@ if test "$PHP_GD" = "php"; then
                libgd/gdfontg.c libgd/gdtables.c libgd/gdft.c libgd/gdcache.c libgd/gdkanji.c \
                libgd/wbmp.c libgd/gd_wbmp.c libgd/gdhelpers.c libgd/gd_topal.c"
 
-  PHP_NEW_EXTENSION(gd, gd.c $sources, $ext_shared,, \\$(GDLIB_CFLAGS))
+  PHP_NEW_EXTENSION(gd, gd.c gdttf.c $sources, $ext_shared,, \\$(GDLIB_CFLAGS))
   PHP_ADD_BUILD_DIR($ext_builddir/libgd)
 
 dnl PNG is required by GD library