diff options
author | fuzzard <fuzzard@kodi.tv> | 2021-10-09 17:31:50 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2021-10-17 07:31:21 +1000 |
commit | 4635a1c7e0e0c6113740ece8f1020ef1e13adae8 (patch) | |
tree | fd2a212667177a323a11d4712a82a47600b6b6cd /tools/depends/target/python3 | |
parent | 8ffd53a9c50b40e26fc9da80df5469e8bcd09f44 (diff) |
[tools/depends][target] python change scproxy addition to sed replacement
Instead of just echoing to end of modules.setup use a sed replace for scproxy like other
modules
Diffstat (limited to 'tools/depends/target/python3')
-rw-r--r-- | tools/depends/target/python3/Makefile | 2 | ||||
-rw-r--r-- | tools/depends/target/python3/modules.setup | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/depends/target/python3/Makefile b/tools/depends/target/python3/Makefile index c210edd0bf..3035e7f223 100644 --- a/tools/depends/target/python3/Makefile +++ b/tools/depends/target/python3/Makefile @@ -65,7 +65,7 @@ ifeq ($(OS),linux) cd $(PLATFORM); sed -ie 's|# -lrt # _posixshmem|-lrt # _posixshmem|' Modules/Setup endif ifeq ($(OS),osx) - echo "_scproxy \$$(srcdir)/Modules/_scproxy.c -framework SystemConfiguration -framework CoreFoundation" >> $(PLATFORM)/Modules/Setup + cd $(PLATFORM); sed -ie 's|\$$(OSX_SCPROXY)|_scproxy \$$(srcdir)/Modules/_scproxy.c -framework SystemConfiguration -framework CoreFoundation|' Modules/Setup endif cd $(PLATFORM); $(AUTORECONF) diff --git a/tools/depends/target/python3/modules.setup b/tools/depends/target/python3/modules.setup index 518691a9ec..f3cf194329 100644 --- a/tools/depends/target/python3/modules.setup +++ b/tools/depends/target/python3/modules.setup @@ -382,6 +382,9 @@ _queue _queuemodule.c _bz2 _bz2module.c -I$(prefix)/include -L$(prefix)/lib -lbz2 _lzma _lzmamodule.c -I$(prefix)/include -L$(prefix)/lib -llzma +# scproxy module only for osx +$(OSX_SCPROXY) + # Uncommenting the following line tells makesetup that all following modules # are not built (see above for more detail). # |