From 681c5598c8c8dcc18475190197e865c0b53ceeba Mon Sep 17 00:00:00 2001 From: Wolfgang Frisch Date: Wed, 18 Dec 2024 15:03:19 +0100 Subject: [PATCH] libraries: add popt --- .gitmodules | 3 +++ config.py | 15 +++++++++++++++ libraries/popt | 1 + 3 files changed, 19 insertions(+) create mode 160000 libraries/popt diff --git a/.gitmodules b/.gitmodules index c05a877..88eea83 100644 --- a/.gitmodules +++ b/.gitmodules @@ -267,3 +267,6 @@ [submodule "libraries/libvterm"] path = libraries/libvterm url = https://github.com/wfrisch/libvterm-mirror +[submodule "libraries/popt"] + path = libraries/popt + url = https://github.com/rpm-software-management/popt diff --git a/config.py b/config.py index c69681f..868beeb 100644 --- a/config.py +++ b/config.py @@ -1058,6 +1058,21 @@ def sparse_paths(self): Library('pcre2', [ "src/*", ]), + Library('popt', [ + "src/popt.c", + "src/popthelp.c", + "src/popt.h", + "src/poptconfig.c", + "tests/test1.c", + "src/poptint.h", + "src/poptparse.c", + "src/system.h", + "src/poptint.c", + "tests/test2.c", + "tests/tdict.c", + "src/lookup3.c", + "tests/test3.c", + ]), Library('rapidjson', [ "include/rapidjson/document.h", "include/rapidjson/schema.h", diff --git a/libraries/popt b/libraries/popt new file mode 160000 index 0000000..63f0967 --- /dev/null +++ b/libraries/popt @@ -0,0 +1 @@ +Subproject commit 63f096798125e96a0125faa477350f61901f3570