Skip to content

Commit

Permalink
Merge pull request #194 from pspdev/fix-libmodplug-pc
Browse files Browse the repository at this point in the history
Fix libmodplug.pc
  • Loading branch information
diamant3 authored Jan 9, 2025
2 parents 755a1a6 + 3a2b2a7 commit 655fef4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libmodplug/PSPBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ sha256sums=(
"SKIP"
)

prepare() {
cd libmodplug
sed -i 's#@prefix@#${PSPDEV}/psp#' libmodplug.pc.in
sed -i 's#@exec_prefix@#${prefix}#' libmodplug.pc.in
sed -i 's#@libdir@#${prefix}/lib#' libmodplug.pc.in
sed -i '/configure_file/{s/)/ @ONLY)/;}' CMakeLists.txt
}

build() {
cd libmodplug
mkdir pspbuild
Expand Down

0 comments on commit 655fef4

Please sign in to comment.