link png library in code on osx
authorkoda
Thu, 07 Mar 2013 10:11:07 +0100
changeset 8685 c0e54583296e
parent 8683 45a976bf9ca4
child 8686 d303da4568b7
link png library in code on osx
hedgewars/PNGh.pas
--- a/hedgewars/PNGh.pas	Thu Mar 07 11:23:01 2013 +0400
+++ b/hedgewars/PNGh.pas	Thu Mar 07 10:11:07 2013 +0100
@@ -29,9 +29,13 @@
     {$DEFINE cdecl attribute(cdecl)}
 {$ENDIF}
 
+{$IFDEF DARWIN}
+    {$linklib png}
+{$ENDIF}
+
 const
     // Constants for libpng, they are not defined in png unit.
-    // We actually don't need all of them.
+    // We actually do not need all of them.
 
     // These describe the color_type field in png_info.
     // color type masks