mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-07 11:52:11 +01:00
https://github.com/OpenBluetoothToolbox/SimpleBLE Cross-platform library for bluetooth low-energy
15 lines
620 B
Diff
15 lines
620 B
Diff
the bluez lib doesn't expose any symbols for some reason, so manually do it for the used one
|
|
diff --git a/simplebluez/src/Device.cpp b/simplebluez/src/Device.cpp
|
|
index e03957c..c62817b 100644
|
|
--- a/simplebluez/src/Device.cpp
|
|
+++ b/simplebluez/src/Device.cpp
|
|
@@ -53,7 +53,7 @@ std::shared_ptr<Characteristic> Device::get_characteristic(const std::string& se
|
|
return service->get_characteristic(characteristic_uuid);
|
|
}
|
|
|
|
-void Device::pair() { device1()->Pair(); }
|
|
+__attribute__ ((visibility ("default"))) void Device::pair() { device1()->Pair(); }
|
|
|
|
void Device::cancel_pairing() { device1()->CancelPairing(); }
|
|
|