Skip to content

Commit

Permalink
Winewrapper fixes (LMMS#4501)
Browse files Browse the repository at this point in the history
* Fix library fix regression from 466f512
* Fix missing windows include directory
  • Loading branch information
lukas-w committed Jul 26, 2018
1 parent 5bf2324 commit 0db8b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/modules/FindWine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/winegcc_wrapper.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0db8b01

Please sign in to comment.