diff options
| author | manuel <manuel@mausz.at> | 2016-03-15 15:37:27 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-03-15 15:37:27 +0100 |
| commit | d26f764e7dd4ff0246901868fb23b4b2b925d5dd (patch) | |
| tree | c831549a87299585ad518b80977a2863c71d3823 /scripts | |
| parent | e0bb1ca2adb966ae334f44faea0452ee9c46de32 (diff) | |
| download | kodi-pvr-build-d26f764e7dd4ff0246901868fb23b4b2b925d5dd.tar.gz kodi-pvr-build-d26f764e7dd4ff0246901868fb23b4b2b925d5dd.tar.bz2 kodi-pvr-build-d26f764e7dd4ff0246901868fb23b4b2b925d5dd.zip | |
sync + build fix
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/sync_buildenv.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/sync_buildenv.sh b/scripts/sync_buildenv.sh index fa55279..9f24348 100755 --- a/scripts/sync_buildenv.sh +++ b/scripts/sync_buildenv.sh | |||
| @@ -31,6 +31,12 @@ echo -n "pvr.dvbviewer https://github.com/manuelm/pvr.dvbviewer $branch" > proje | |||
| 31 | echo -n "all" > project/cmake/addons/addons/pvr.dvbviewer/platforms.txt | 31 | echo -n "all" > project/cmake/addons/addons/pvr.dvbviewer/platforms.txt |
| 32 | git add project/cmake/addons/addons/ | 32 | git add project/cmake/addons/addons/ |
| 33 | 33 | ||
| 34 | # fix build bug | 34 | # fix build bugs |
| 35 | for f in project/cmake/scripts/windows/c-flag-overrides.cmake project/cmake/scripts/windows/cxx-flag-overrides.cmake | ||
| 36 | do | ||
| 37 | sed -i -re 's#CMAKE_C(XX)?_FLAGS(_(DEBUG|RELEASE))? #CMAKE_C\1_FLAGS\2_INIT #' $f | ||
| 38 | git add $f | ||
| 39 | done | ||
| 40 | |||
| 35 | sed -i -e 's#${LIBRARY_DIR}/${target}.pdb#$<TARGET_PDB_FILE_NAME:${target}>#' project/cmake/scripts/common/addon-helpers.cmake | 41 | sed -i -e 's#${LIBRARY_DIR}/${target}.pdb#$<TARGET_PDB_FILE_NAME:${target}>#' project/cmake/scripts/common/addon-helpers.cmake |
| 36 | git add project/cmake/scripts/common/addon-helpers.cmake | 42 | git add project/cmake/scripts/common/addon-helpers.cmake |
