Fix build with binutils gold

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@351 b624d157-de02-0410-bad0-e51aec6abb33
master
sniperbeamer 15 years ago
parent a398bbad36
commit fd216f78d4
  1. 4
      CMakeLists.txt
  2. 2
      src/src.pro

@ -70,8 +70,8 @@ IF( AUTOTYPE )
find_package(X11)
IF( X11_XTest_FOUND )
INCLUDE_DIRECTORIES( ${X11_XTest_INCLUDE_PATH} )
SET(AUTOTYPE_LIBRARIES ${X11_XTest_LIB})
INCLUDE_DIRECTORIES( ${X11_X11_INCLUDE_PATH} ${X11_XTest_INCLUDE_PATH} )
SET(AUTOTYPE_LIBRARIES ${X11_X11_LIB} ${X11_XTest_LIB})
ADD_DEFINITIONS(-DAUTOTYPE -DGLOBAL_AUTOTYPE)
ELSE( X11_XTest_FOUND )
SET(AUTOTYPE FALSE)

@ -63,7 +63,7 @@ unix : !macx : !isEqual(QMAKE_WIN32,1){
INSTALLS += shareapp shararemime sharemimelnk sharepixmaps
contains(DEFINES,AUTOTYPE){
LIBS += -lXtst
LIBS += -lX11 -lXtst
SOURCES += lib/HelperX11.cpp lib/AutoTypeX11.cpp
HEADERS += lib/HelperX11.h lib/AutoTypeX11.h
}