mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 12:32:37 -04:00
fixed webui files generation under MSYS2
This commit is contained in:
parent
cc51298de6
commit
2848359f77
1 changed files with 14 additions and 1 deletions
|
@ -110,7 +110,7 @@ libresapihttpserver {
|
|||
QMAKE_EXTRA_COMPILERS += create_webfiles_html create_webfiles_js create_webfiles_css
|
||||
}
|
||||
|
||||
win32 {
|
||||
win32-x {
|
||||
DEFINES *= WINDOWS_SYS
|
||||
INCLUDEPATH += . $$INC_DIR
|
||||
|
||||
|
@ -126,6 +126,19 @@ libresapihttpserver {
|
|||
system($$MAKE_SRC\\init.bat .)
|
||||
}
|
||||
|
||||
win32 {
|
||||
DEFINES *= WINDOWS_SYS
|
||||
INCLUDEPATH += . $$INC_DIR
|
||||
|
||||
PRO_PATH=$$shell_path($$_PRO_FILE_PWD_)
|
||||
MAKE_SRC=$$shell_path($$PRO_PATH/webui-src/make-src)
|
||||
|
||||
QMAKE_POST_LINK=$$MAKE_SRC/build.sh $$PRO_PATH
|
||||
|
||||
# create dummy files
|
||||
system($$MAKE_SRC/init.sh .)
|
||||
}
|
||||
|
||||
linux {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG *= libmicrohttpd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue