File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed
Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
3535 set (CMAKE_PREFIX_PATH /opt/local)
3636 message (STATUS "Ncurses cmake prefix '${CMAKE_PREFIX_PATH} ' (default)." )
3737 endif ()
38+ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Android" )
39+ add_compile_definitions (_XOPEN_SOURCE_EXTENDED )
3840endif ()
3941
4042# Optional component - Dummy Protocol
Original file line number Diff line number Diff line change 77
88#pragma once
99
10- #define NCHAT_VERSION "5.1.29 "
10+ #define NCHAT_VERSION "5.2.1 "
Original file line number Diff line number Diff line change @@ -18,8 +18,13 @@ find_path(MAGIC_INCLUDE_DIR magic.h
1818)
1919find_package (SQLite3 REQUIRED )
2020
21+ # Platform specifics
22+ if (${CMAKE_SYSTEM_NAME} MATCHES "Android" )
23+ find_library (WORDEXP_LIBRARY android -wordexp )
24+ endif ()
25+
2126# Library
22- add_library (ncutil SHARED
27+ add_library (ncutil SHARED
2328 src/appconfig.cpp
2429 src/appconfig.h
2530 src/apputil.cpp
@@ -85,4 +90,4 @@ set_target_properties(ncutil PROPERTIES COMPILE_FLAGS
8590 -Wcast-align" )
8691
8792# Linking
88- target_link_libraries (ncutil PUBLIC ${MAGIC_LIBRARY} SQLite::SQLite3 clip )
93+ target_link_libraries (ncutil PUBLIC ${MAGIC_LIBRARY} SQLite::SQLite3 clip ${WORDEXP_LIBRARY} )
Original file line number Diff line number Diff line change 11.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2- .TH NCHAT "1" "August 2024" "nchat 5.1.29 " "User Commands"
2+ .TH NCHAT "1" "August 2024" "nchat 5.2.1 " "User Commands"
33.SH NAME
44nchat \- ncurses chat
55.SH SYNOPSIS
You can’t perform that action at this time.
0 commit comments