Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Fix headers issue for mupen64plus-sa-core and mupen64plus-sa-simplecore.
Browse files Browse the repository at this point in the history
  • Loading branch information
fewtarius committed Jul 20, 2023
1 parent 4c58a95 commit 66fd549
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name: release-dev
on:
schedule:
- cron: '0 3 * * *'
- cron: '0 12 * * *'
workflow_dispatch:
env:
BRANCH: dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,14 @@ makeinstall_target() {
chmod 0644 ${INSTALL}/usr/local/share/mupen64plus/*
rm -rf ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/mupen64plus
cp -r ${PKG_BUILD}/src/* ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
cp -rf ${PKG_BUILD}/src ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
for header in ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/src/api/*h
do
ln -sf ${header} ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/
done

# mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/mupen64plus/


if [ -e "${PKG_DIR}/config/${DEVICE}/mupen64plus.cfg" ]
then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ makeinstall_target() {
chmod 644 ${INSTALL}/usr/local/lib/libsimple64.so.2
rm -rf ${SYSROOT_PREFIX}/usr/local/include/simple64
mkdir -p ${SYSROOT_PREFIX}/usr/local/include/simple64
cp -r ${PKG_BUILD}/src/* ${SYSROOT_PREFIX}/usr/local/include/simple64/
mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/simple64/
cp -rf ${PKG_BUILD}/src ${SYSROOT_PREFIX}/usr/local/include/simple64/
for header in ${SYSROOT_PREFIX}/usr/local/include/simple64/src/api/*h
do
ln -sf ${header} ${SYSROOT_PREFIX}/usr/local/include/simple64/
done
#mv ${PKG_BUILD}/src/api/m64p_*.h ${SYSROOT_PREFIX}/usr/local/include/simple64/
}

0 comments on commit 66fd549

Please sign in to comment.