Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Support building on Linux 5. (And Linux 6, 7, and 8, too.)
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Aug 10, 2019
1 parent 8a710e8 commit 5afee35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions native/scripts/python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ build () {
sed -i 's/$(BLDSHARED) -o $@ $(LIBRARY_OBJS)/$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $@ $(LIBRARY_OBJS)/' Makefile

mkdir -p Lib/plat-linux4
mkdir -p Lib/plat-linux5
mkdir -p Lib/plat-linux6
mkdir -p Lib/plat-linux7
mkdir -p Lib/plat-linux8

make HOSTPYTHON="$B/hostpython" HOSTPGEN="$B/hostpgen" CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so || true
make install HOSTPYTHON="$B/hostpython" HOSTPGEN="$B/hostpgen" CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
Expand Down

0 comments on commit 5afee35

Please sign in to comment.