mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-23 08:19:57 -05:00
38 lines
1.9 KiB
Plaintext
38 lines
1.9 KiB
Plaintext
################################################################################
|
|
# use_openpgpsdk.pri #
|
|
# Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> #
|
|
# #
|
|
# This program is free software: you can redistribute it and/or modify #
|
|
# it under the terms of the GNU Lesser General Public License as #
|
|
# published by the Free Software Foundation, either version 3 of the #
|
|
# License, or (at your option) any later version. #
|
|
# #
|
|
# This program is distributed in the hope that it will be useful, #
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
# GNU Lesser General Public License for more details. #
|
|
# #
|
|
# You should have received a copy of the GNU Lesser General Public License #
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>. #
|
|
################################################################################
|
|
DEPENDPATH *= $$system_path($$clean_path($${PWD}/../../openpgpsdk/src))
|
|
INCLUDEPATH *= $$system_path($$clean_path($${PWD}/../../openpgpsdk/src))
|
|
LIBS *= -L$$system_path($$clean_path($${OUT_PWD}/../../openpgpsdk/src/lib/)) -lops
|
|
|
|
!equals(TARGET, ops):PRE_TARGETDEPS *= $$system_path($$clean_path($${OUT_PWD}/../../openpgpsdk/src/lib/libops.a))
|
|
|
|
sLibs =
|
|
mLibs = ssl crypto z bz2
|
|
dLibs =
|
|
|
|
static {
|
|
sLibs *= $$mLibs
|
|
} else {
|
|
dLibs *= $$mLibs
|
|
}
|
|
|
|
LIBS += $$linkStaticLibs(sLibs)
|
|
PRE_TARGETDEPS += $$pretargetStaticLibs(sLibs)
|
|
|
|
LIBS += $$linkDynamicLibs(dLibs)
|