Changeset View
Changeset View
Standalone View
Standalone View
games/pykawari/files/patch-build_src_gcc.mak
Show All 38 Lines | |||||
#========================================================================== | #========================================================================== | ||||
# Directories | # Directories | ||||
@@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||||
ifeq ($(STLport),yes) | ifeq ($(STLport),yes) | ||||
CFLAGS := $(CFLAGS_STLP) -DHAVE_SSTREAM $(CFLAGS) | CFLAGS := $(CFLAGS_STLP) -DHAVE_SSTREAM $(CFLAGS) | ||||
LDFLAGS := $(LDFLAGS) $(LDFLAGS_STLP) | LDFLAGS := $(LDFLAGS) $(LDFLAGS_STLP) | ||||
- LIBS := $(LIBS) $(LIBS_STLP) | - LIBS := $(LIBS) $(LIBS_STLP) | ||||
+ LIBS := $(LIBS) -L${PYTHONBASE}/lib -l${PYTHON_VERSION} | + LIBS := $(LIBS) ${PYTHON_LIB} | ||||
endif | endif | ||||
ifeq ($(SAORI_NATIVE),yes) | ifeq ($(SAORI_NATIVE),yes) | ||||
@@ -104,7 +104,7 @@ | @@ -104,7 +104,7 @@ | ||||
ifndef CFLAGS_PYTHON | ifndef CFLAGS_PYTHON | ||||
CFLAGS_PYTHON = -I$(shell python -c "import sys; print sys.prefix+'/include/python'+sys.version[:3]") | CFLAGS_PYTHON = -I$(shell python -c "import sys; print sys.prefix+'/include/python'+sys.version[:3]") | ||||
CFLAGS := $(CFLAGS_PYTHON) $(CFLAGS) | CFLAGS := $(CFLAGS_PYTHON) $(CFLAGS) | ||||
- LIBS := $(LIBS) -lpython$(PYTHON_VER) | - LIBS := $(LIBS) -lpython$(PYTHON_VER) | ||||
+ LIBS := $(LIBS) -L${PYTHONBASE}/lib -l${PYTHON_VERSION} | + LIBS := $(LIBS) ${PYTHON_LIB} | ||||
endif | endif | ||||
endif | endif | ||||
@@ -145,22 +145,23 @@ | @@ -145,22 +145,23 @@ | ||||
## TARGETS ## | ## TARGETS ## | ||||
.PHONY: clean cleanall depend upx | .PHONY: clean cleanall depend upx | ||||
-all : $(ALLTARGET) upx | -all : $(ALLTARGET) upx | ||||
Show All 24 Lines |