about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/example.gyp10
l---------example/options.gypi1
2 files changed, 9 insertions, 2 deletions
diff --git a/example/example.gyp b/example/example.gyp
index a3dc597..bb1bbd0 100644
--- a/example/example.gyp
+++ b/example/example.gyp
@@ -7,9 +7,15 @@
       "src"
     ],
 
+    "variables": {
+      "gypkg_deps": [
+        "git://github.com/libuv/libuv.git#v1.9.1:uv.gyp:libuv",
+      ],
+    },
+
     "dependencies": [
-      "../test/deps/libuv/uv.gyp:libuv",
-      "../uv_link_t.gyp:uv_link_t"
+      "<!@(gypkg deps <(gypkg_deps))",
+      "../uv_link_t.gyp:uv_link_t",
     ],
 
     "sources": [
diff --git a/example/options.gypi b/example/options.gypi
new file mode 120000
index 0000000..9b18bce
--- /dev/null
+++ b/example/options.gypi
@@ -0,0 +1 @@
+../options.gypi
\ No newline at end of file