Skip to content

Commit

Permalink
Make example work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Dec 10, 2015
1 parent 09c3026 commit d32fcdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -42,8 +42,8 @@ example: curassow-release example.swift
@$(SWIFTC) -o example \
example.swift \
-I.build/release \
-Xlinker .build/release/Commander.a \
-Xlinker .build/release/Curassow.a \
-Xlinker .build/release/Commander.a \
-Xlinker .build/release/Inquiline.a \
-Xlinker .build/release/Nest.a \

Expand Down
5 changes: 5 additions & 0 deletions example.swift
@@ -1,3 +1,8 @@
#if os(Linux)
import Glibc
#else
import Darwin
#endif
import Curassow
import Inquiline

Expand Down

0 comments on commit d32fcdc

Please sign in to comment.