libpurple/protocols/zephyr/meson.build

Sat, 08 Dec 2018 21:06:37 -0600

author
Mike Ruprecht <cmaiku@gmail.com>
date
Sat, 08 Dec 2018 21:06:37 -0600
changeset 39404
dc8c71a301d0
parent 38854
086e15ec656d
child 40165
6bb197792c6d
permissions
-rw-r--r--

libpurple: Drop capability to statically build prpls

The static building of protocol plugins has been completely broken
since switching to meson. Because of this and the prospect of GPlugin
growing capabilities for limiting allowed plugins, this patch drops
the remaining meson configuration for attempting to support static
protocol plugins.

ZEPHYRSOURCES = [
	'ZAsyncLocate.c',
	'ZCkAuth.c',
	'ZCkIfNot.c',
	'ZClosePort.c',
	'ZCmpUID.c',
	'ZCmpUIDP.c',
	'ZFlsLocs.c',
	'ZFlsSubs.c',
	'ZFmtAuth.c',
	'ZFmtList.c',
	'ZFmtNotice.c',
	'ZFmtRaw.c',
	'ZFmtRawLst.c',
	'ZFmtSmRaw.c',
	'ZFreeNot.c',
	'ZGetLocs.c',
	'ZGetSender.c',
	'ZGetSubs.c',
	'ZGetWGPort.c',
	'ZIfNotice.c',
	'ZInit.c',
	'ZLocations.c',
	'ZMakeAscii.c',
	'ZMkAuth.c',
	'ZNewLocU.c',
	'ZOpenPort.c',
	'ZParseNot.c',
	'ZPeekNot.c',
	'ZPeekPkt.c',
	'ZPending.c',
	'ZReadAscii.c',
	'ZRecvNot.c',
	'ZRecvPkt.c',
	'ZRetSubs.c',
	'ZSendList.c',
	'ZSendNot.c',
	'ZSendPkt.c',
	'ZSetDest.c',
	'ZSetFD.c',
	'ZSetSrv.c',
	'ZSubs.c',
	'ZVariables.c',
	'ZWait4Not.c',
	'ZhmStat.c',
	'Zinternal.c',
	'com_err.h',
	'error_message.c',
	'error_table.h',
	'et_name.c',
	'init_et.c',
	'internal.h',
	'mit-copyright.h',
	'mit-sipb-copyright.h',
	'sysdep.h',
	'zephyr_err.c',
	'zephyr_err.h',
	'zephyr_internal.h',
	'zephyr.c',
	'zephyr.h'
]

ZEPHYRSOURCESEXT = ['zephyr.c', 'zephyr.h']

extdep = krb4
if EXTERNAL_LIBZEPHYR
	ZEPHYRSOURCES = ZEPHYRSOURCESEXT
	extdep = ext_zephyr
endif

if DYNAMIC_ZEPHYR
	zephyr_prpl = shared_library('zephyr', ZEPHYRSOURCES,
	    c_args : '-Dlint',
	    dependencies : [extdep, libpurple_dep, glib],
	    install : true, install_dir : PURPLE_PLUGINDIR)
endif

mercurial