mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fix compilation for plugins but miss RetroShare-gui library linking.
Get ld: symbol(s) not found for architecture ...
This commit is contained in:
parent
3ea2e0f450
commit
cb4579e8c7
5 changed files with 85 additions and 1 deletions
|
@ -103,6 +103,28 @@ win32 {
|
|||
INCLUDEPATH += . $$INC_DIR
|
||||
}
|
||||
|
||||
macx {
|
||||
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
|
||||
|
||||
XML2_FOUND =
|
||||
for(inc, INC_DIR){
|
||||
#message(Scanning $$inc)s
|
||||
exists($$inc/libxml2){
|
||||
isEmpty( XML2_FOUND) {
|
||||
message(xml2 is first found here: $$inc .)
|
||||
INC_DIR += "$$inc/libxml2"
|
||||
XML2_FOUND = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
DEPENDPATH += . $$INC_DIRs
|
||||
INCLUDEPATH += . $$INC_DIR
|
||||
|
||||
LIBS = -lcurl -lxml2 -lxslt -lcrypto
|
||||
|
||||
error(Missing RetroShare-gui library. Remove Plugins from RetroShare.pro))
|
||||
}
|
||||
|
||||
openbsd-* {
|
||||
LIBXML2_DIR = /usr/local/include/libxml2
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue