about summary refs log tree commit diff stats
path: root/uv_link_t.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'uv_link_t.gyp')
-rw-r--r--uv_link_t.gyp16
1 files changed, 12 insertions, 4 deletions
diff --git a/uv_link_t.gyp b/uv_link_t.gyp
index 16f4205..6732537 100644
--- a/uv_link_t.gyp
+++ b/uv_link_t.gyp
@@ -1,15 +1,23 @@
 {
   "targets": [{
     "target_name": "uv_link_t",
-    "type": "<(library)",
+    "type": "<!(gypkg type)",
 
     "direct_dependent_settings": {
       "include_dirs": [ "include" ],
     },
-    "include_dirs": [
-      # libuv
-      "<(uv_dir)/include",
 
+    "variables": {
+      "gypkg_deps": [
+        "git://github.com/libuv/libuv.git#v1.9.1:uv.gyp:libuv",
+      ],
+    },
+
+    "dependencies": [
+      "<!@(gypkg deps <(gypkg_deps))"
+    ],
+
+    "include_dirs": [
       ".",
     ],