Browse Source

Fix system related dependencies issue

Posix libraries don't required to build on other systems
Sky Thirteenth 8 năm trước cách đây
mục cha
commit
a9c104d043
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      dub.json

+ 2 - 2
dub.json

@@ -8,7 +8,7 @@
 	"targetType": "library",
 	"dependencies": {
 		"derelict-util" : ">=1.0.0",
-		"xlib-d": "~>0.1.1",
-		"xcb-d": "~>2.1.0+1.11.1"
+		"xlib-d": { "version": "~>0.1.1", "optional": true },
+		"xcb-d" : { "version": "~>2.1.0+1.11.1", "optional": true }
 	}
 }