Skip to content
Permalink
Browse files
libsdl2: fix path for cmake #8275
  • Loading branch information
threedeyes committed Apr 5, 2023
1 parent b4a0631 commit 69c3be5
Showing 1 changed file with 2 additions and 2 deletions.
@@ -6,7 +6,7 @@ software, emulators, and popular games."
HOMEPAGE="https://www.libsdl.org/"
COPYRIGHT="1997-2022 Sam Lantinga"
LICENSE="Zlib"
REVISION="2"
REVISION="3"
SOURCE_URI="https://www.libsdl.org/release/SDL2-$portVersion.tar.gz"
CHECKSUM_SHA256="1a0f686498fb768ad9f3f80b39037a7d006eac093aad39cb4ebcc832a8887231"
SOURCE_DIR="SDL2-$portVersion"
@@ -61,7 +61,7 @@ INSTALL()
{
ninja -C build install

sed -i "s|.self/$relativeLibDir|.self/$relativeDevelopLibDir|" \
sed -i 's,${_IMPORT_PREFIX}/lib',$developDir/lib, \
$libDir/cmake/SDL2/SDL2mainTargets-release.cmake
rm $libDir/libSDL2_test.a
rm $libDir/cmake/SDL2/SDL2testTargets-release.cmake

0 comments on commit 69c3be5

Please sign in to comment.