Some applications use that wrapped interface for C++ …

Signed-off-by: Alexander Dahl <[email protected]>
---
 rules/gpsd.in   | 6 ++++++
 rules/gpsd.make | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/rules/gpsd.in b/rules/gpsd.in
index a203e48d4..deebe6bbc 100644
--- a/rules/gpsd.in
+++ b/rules/gpsd.in
@@ -68,6 +68,12 @@ config GPSD_USB
 
 comment "Other options    ---"
 
+config GPSD_LIBGPSMM
+       bool
+       prompt "C++ class wrappers"
+       help
+         Enables libgpsmm, a C++ class wrapper for libgps.
+
 config GPSD_PYTHON
        bool
        prompt "python bindings"
diff --git a/rules/gpsd.make b/rules/gpsd.make
index 0bda35d91..4389356d2 100644
--- a/rules/gpsd.make
+++ b/rules/gpsd.make
@@ -81,7 +81,7 @@ GPSD_CONF_OPT = \
        implicit_link=yes \
        isync=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_ISYNC) \
        itrax=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_ITRAX) \
-       libgpsmm=no \
+       libgpsmm=$(call ptx/yesno, PTXCONF_GPSD_LIBGPSMM) \
        magic_hat=no \
        manbuild=no \
        minimal=yes \

base-commit: e999e3a92a2fb0ec9ae249bd1f043f05d74dea90
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to