diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,11 @@
+zxcvbn-c (1.0.1) unstable; urgency=medium
+
+  * Added use-shared-lib build flag.
+
+ -- Joey Hess <id@joeyh.name>  Sun, 25 Sep 2016 14:29:42 -0400
+
+zxcvbn-c (1.0.0) unstable; urgency=medium
+
+  * First release.
+
+ -- Joey Hess <id@joeyh.name>  Fri, 19 Aug 2016 19:41:06 -0400
diff --git a/zxcvbn-c.cabal b/zxcvbn-c.cabal
--- a/zxcvbn-c.cabal
+++ b/zxcvbn-c.cabal
@@ -1,5 +1,5 @@
 Name: zxcvbn-c
-Version: 1.0.0
+Version: 1.0.1
 Cabal-Version: >= 1.8
 Maintainer: Joey Hess <id@joeyh.name>
 Author: Joey Hess
@@ -12,19 +12,36 @@
 Synopsis: Password strength estimation
 Description:
  This is a Haskell binding to the C port of the zxcvbn
- password strength estimator, from https://github.com/tsyrogit/zxcvbn-c
+ password strength estimator, from <https://github.com/tsyrogit/zxcvbn-c>
  .
  An article on the reasons for zxcvbn is at
- https://tech.dropox.com/2012/04/zxcvbn-realistic-password-strength-estimation
-Extra-Source-Files: words-female.txt zxcvbn.h dict-generate.cpp words-male.txt words-10k-pass.txt words-surname.txt makefile words-english.txt zxcvbn.c
+ <https://tech.dropox.com/2012/04/zxcvbn-realistic-password-strength-estimation>
+Extra-Source-Files:
+ CHANGELOG
+ dict-generate.cpp
+ makefile
+ words-10k-pass.txt
+ words-english.txt
+ words-female.txt
+ words-male.txt
+ words-surname.txt
+ zxcvbn.h
+ zxcvbn.c
 
+Flag use-shared-lib
+  Description: Link with system's zxcvbn shared library, instead of the copy included with this package.
+  Default: False
+
 Library
   Build-Depends: base (>= 4.5 && < 5.0)
   Exposed-Modules: Text.Password.Strength
   GHC-Options: -Wall -fno-warn-tabs
-  C-Sources: zxcvbn.c zxcvbn.h
   Extensions: ForeignFunctionInterface
   Include-Dirs: .
+  if flag(use-shared-lib)
+    Extra-Libraries: zxcvbn
+  else
+    C-Sources: zxcvbn.c zxcvbn.h
 
 source-repository head
   type: git
