patches to build on BSD by Christopher VdoP
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
|
||||
#include "kpty_p.h"
|
||||
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
#define HAVE_LOGIN
|
||||
#define HAVE_LIBUTIL_H
|
||||
#endif
|
||||
|
||||
#ifdef __sgi
|
||||
#define __svr4__
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -41,8 +41,8 @@ set ( CMAKE_BUILD_TYPE
|
||||
)
|
||||
|
||||
#| Link Qt4 Libraries
|
||||
target_link_libraries ( test ${QT_LIBRARIES} )
|
||||
target_link_libraries ( test ${QT_LIBRARIES} util )
|
||||
|
||||
#| Link qtermwidget Library
|
||||
target_link_libraries ( test ${QTERMWIDGET_LIB} )
|
||||
target_link_libraries ( test ${QTERMWIDGET_LIB} util )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user