diff -up ./src/Makefile.am.orig ./src/Makefile.am --- ./src/Makefile.am.orig 2018-06-05 17:50:47.414924321 +0300 +++ ./src/Makefile.am 2018-06-05 17:51:09.807704701 +0300 @@ -13,6 +13,8 @@ ConfigDialog.h cryptkeeper.h encfs_wrapp CreateStashWizard.h defines.h gtkstatusicon.h ImportStashWizard.h \ PasswordEntryDialog.cpp PasswordEntryDialog.h lsof.cpp lsof.h +cryptkeeper_LDADD = -lX11 + check_PROGRAMS = unit_test unit_test_SOURCES= encfs_wrapper.cpp unit_tests.cpp