summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-18 15:02:48 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-18 15:02:48 +0100
commit5a97629d0b272765b607dca1757ef067328f9d55 (patch)
tree554de0f1c30fc324b7e732546eb66ae73dba6377
parent61c0f79397f6d074d51364b840a2642861f5396e (diff)
Restore building on old Linux/Unix systems lacking Xutf8LookupString()
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bc1a6f14e..00cd2d4b3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -528,7 +528,7 @@ if(FLTK_USE_X11)
list(APPEND CFILES
xutf8/utf8Utils.c
xutf8/utf8Wrap.c
- # xutf8/utf8Input.c # not used
+ xutf8/utf8Input.c
)
endif(NOT USE_XFT)
endif(FLTK_USE_X11)
diff --git a/src/Makefile b/src/Makefile
index 6a9692097..4bed068fc 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -341,6 +341,7 @@ XLIBCFILES = \
# These C files are used under condition: BUILD_X11 AND NOT BUILD_XFT
XLIBXCFILES = \
+ xutf8/utf8Input.c \
xutf8/utf8Utils.c \
xutf8/utf8Wrap.c