Winewrapper fixes (#4501)
* Fix library fix regression from 38f6371de6
* Fix missing windows include directory
This commit is contained in:
@@ -42,7 +42,7 @@ FOREACH(FLAG ${WINEBUILD_FLAGS})
|
||||
# Gentoo systems
|
||||
STRING(REPLACE "/lib/wine-" "/lib32/wine-" FLAG "${FLAG}")
|
||||
# WineHQ (/opt/wine-stable, /opt/wine-devel, /opt/wine-staging)
|
||||
STRING(REPLACE "/lib64/wine/" "/lib/wine/" FLAG "${FLAG}")
|
||||
STRING(REGEX REPLACE "/lib64$" "/lib" FLAG "${FLAG}")
|
||||
|
||||
SET(WINE_32_LIBRARY_DIR "${FLAG}/")
|
||||
ENDIF()
|
||||
|
||||
@@ -40,7 +40,7 @@ fi
|
||||
|
||||
# Some Wine distributions can't find their own headers. WINE_INCLUDE_DIR provided
|
||||
# by FindWine.cmake
|
||||
extra_args="-I@WINE_INCLUDE_DIR@"
|
||||
extra_args="-I@WINE_INCLUDE_DIR@ -I@WINE_INCLUDE_DIR@/wine/windows"
|
||||
|
||||
# Apply -m32 library fix if necessary
|
||||
if [ "$win32" = true ] && [ "$no_link" != true ]; then
|
||||
|
||||
Reference in New Issue
Block a user