diff --git a/binding.gyp b/binding.gyp index 95f72d2..b4f9162 100644 --- a/binding.gyp +++ b/binding.gyp @@ -19,6 +19,25 @@ }] ], 'targets': [ + { + 'target_name': 'canvas-postbuild', + 'dependencies': ['canvas'], + 'conditions': [ + ['OS=="win"', { + 'copies': [{ + 'destination': '<(PRODUCT_DIR)', + 'files': [ + '<(GTK_Root)/bin/libcairo-2.dll', + '<(GTK_Root)/bin/libexpat-1.dll', + '<(GTK_Root)/bin/libfontconfig-1.dll', + '<(GTK_Root)/bin/libfreetype-6.dll', + '<(GTK_Root)/bin/libpng14-14.dll', + '<(GTK_Root)/bin/zlib1.dll', + ] + }] + }] + ] + }, { 'target_name': 'canvas', 'include_dirs': ["