diff --git a/export.go b/export.go
index <HASH>..<HASH> 100644
--- a/export.go
+++ b/export.go
@@ -8,6 +8,7 @@ package context
 // #cgo CFLAGS: -O2 -fPIC
 // #cgo CPPFLAGS: -w
 // #cgo CXXFLAGS: -g -std=c++0x -pedantic -Wno-c++11-extensions -O2 -fPIC
+// #cgo darwin linux LDFLAGS: -ldl
 // #cgo LDFLAGS: -lstdc++ -lm
 // #include "sass_context.h"
 //
arch specific ldflags