diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-11 19:50:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-11 21:01:29 +0100 |
commit | f318ab6bed4603a18198b36da682b6fd36a68f91 (patch) | |
tree | 8e602fa2cc198f8a457c8fcf2c20f61ad63eebc9 /Ports/python3 | |
parent | f45e16a6a219e50124c57d031bd7738717c956af (diff) | |
download | serenity-f318ab6bed4603a18198b36da682b6fd36a68f91.zip |
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
Diffstat (limited to 'Ports/python3')
-rw-r--r-- | Ports/python3/Setup.local | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/python3/Setup.local b/Ports/python3/Setup.local index 2f7a988157..124069254b 100644 --- a/Ports/python3/Setup.local +++ b/Ports/python3/Setup.local @@ -29,7 +29,7 @@ _codecs_tw cjkcodecs/_codecs_tw.c _contextvars _contextvarsmodule.c _crypt _cryptmodule.c _csv _csv.c -_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/cfield.c _ctypes/malloc_closure.c _ctypes/stgdict.c -I$(SERENITY_ROOT)/Build/Root/usr/local/include $(SERENITY_ROOT)/Build/Root/usr/local/lib/libffi.a +_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/cfield.c _ctypes/malloc_closure.c _ctypes/stgdict.c -I$(SERENITY_BUILD_DIR)/Root/usr/local/include $(SERENITY_BUILD_DIR)/Root/usr/local/lib/libffi.a _datetime _datetimemodule.c _elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c _heapq _heapqmodule.c @@ -64,7 +64,7 @@ syslog syslogmodule.c unicodedata unicodedata.c xxlimited xxlimited.c xxsubtype xxsubtype.c -zlib zlibmodule.c -I$(SERENITY_ROOT)/Build/Root/usr/local/include -L$(SERENITY_ROOT)/Build/Root/usr/local/lib -lz +zlib zlibmodule.c -I$(SERENITY_BUILD_DIR)/Root/usr/local/include -L$(SERENITY_BUILD_DIR)/Root/usr/local/lib -lz *disabled* # Not building, patch Python some more or fix LibC... @@ -74,4 +74,4 @@ _decimal _socket mmap resource spwd termios _lsprof _multiprocessing # Lots and lots of linker errors, although these flags should be correct: -_curses _cursesmodule.c -I$(SERENITY_ROOT)/Build/Root/usr/local/include/ncurses -L$(SERENITY_ROOT)/Build/Root/usr/local/lib -lncurses -ltermcap +_curses _cursesmodule.c -I$(SERENITY_BUILD_DIR)/Root/usr/local/include/ncurses -L$(SERENITY_BUILD_DIR)/Root/usr/local/lib -lncurses -ltermcap |