php-5.4:
 * fix php doesn't compile if libgd is linked in dynamically
 * refs #2126

TODO: check if php-5.3 is affected (most likely yes)


git-svn-id: file:///var/svn/freetz/trunk@10732 149334a1-2f27-0410-a3b9-fc62619ac1e6