pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Make it possible so that libpurple plugins can use functions defined in libpurple/glibcompat.h
2020-10-15, Gary Kramlich
797f5a0f602c
Make it possible so that libpurple plugins can use functions defined in libpurple/glibcompat.h
Testing Done:
Compiled on linux and raspberry pi os which fixes that build.
Reviewed at https://reviews.imfreedom.org/r/169/
FACEBOOKSOURCES
=
[
'api.c'
,
'api.h'
,
'data.c'
,
'data.h'
,
'facebook.h'
,
'facebook.c'
,
'http.c'
,
'http.h'
,
'id.h'
,
'json.c'
,
'json.h'
,
'mqtt.c'
,
'mqtt.h'
,
'thrift.c'
,
'thrift.h'
,
'util.c'
,
'util.h'
]
if
DYNAMIC_FACEBOOK
facebook_prpl
=
shared_library
(
'facebook'
,
FACEBOOKSOURCES
,
dependencies
:
[
json
,
libpurple_dep
,
libsoup
,
glib
],
install
:
true
,
install_dir
:
PURPLE_PLUGINDIR
)
# Used to produce docs.
facebook_inc
=
include_directories
(
'.'
)
facebook_dep
=
declare_dependency
(
link_with
:
facebook_prpl
,
dependencies
:
[
json
,
libpurple_dep
,
glib
])
endif