Respect destdir in public key path
This commit is contained in:
parent
87fad25bde
commit
5985d08fc5
2 changed files with 8 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
srcdir=@srcdir@
|
||||
|
||||
CFLAGS=@CFLAGS@ @PURPLE_CFLAGS@ -Wall -Wextra -Wno-unused-parameter -I${srcdir} -I. -fno-strict-aliasing -fPIC
|
||||
CFLAGS=@CFLAGS@ @PURPLE_CFLAGS@ -Wall -Wextra -Wno-unused-parameter -I${srcdir} -I. -fno-strict-aliasing -fPIC -DDESTDIR=\"@PREFIX@\"
|
||||
LDFLAGS=@LDFLAGS@ @OPENSSL_LDFLAGS@ @PURPLE_LIBS@ @LIBS@ -lcrypto -rdynamic -ggdb
|
||||
CPPFLAGS=@CPPFLAGS@ -DFLAGS
|
||||
CPPFLAGS=@CPPFLAGS@ -DFLAGS
|
||||
DESTDIR=@PREFIX@
|
||||
COMPILE_FLAGS=${CFLAGS} ${CPPFLAGS}
|
||||
LINK_FLAGS=${LDFLAGS}
|
||||
|
||||
|
|
|
@ -63,10 +63,14 @@
|
|||
|
||||
#define _(m) m
|
||||
|
||||
#ifndef DESTDIR
|
||||
#define DESTDIR
|
||||
#endif
|
||||
|
||||
PurplePlugin *_telegram_protocol = NULL;
|
||||
PurpleGroup *tggroup;
|
||||
const char *config_dir = ".telegram-purple";
|
||||
const char *pk_path = "/etc/telegram-purple/server.pub";
|
||||
const char *pk_path = DESTDIR"/etc/telegram-purple/server.pub";
|
||||
void tgprpl_login_on_connected();
|
||||
void on_user_get_info (struct tgl_state *TLS, void *info_data, int success, struct tgl_user *U);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue