Ranlib the built bsnes archive
This is required for Win32 builds
This commit is contained in:
parent
280d3f8627
commit
848a4f8659
2 changed files with 7 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -5,6 +5,7 @@ include $(OPTIONS)
|
|||
#Compilers.
|
||||
REALCC = $(CROSS_PREFIX)$(CC)
|
||||
REALLD = $(CROSS_PREFIX)$(LD)
|
||||
REALRANLIB = $(CROSS_PREFIX)$(RANLIB)
|
||||
|
||||
BSNES_PATH=$(shell pwd)/bsnes
|
||||
|
||||
|
@ -52,8 +53,9 @@ endif
|
|||
|
||||
bsnes_compiler=$(subst ++,cc,$(REALCC))
|
||||
|
||||
bsnes/out/libsnes.$(ARCHIVE_SUFFIX): bsnes/snes/snes.hpp
|
||||
bsnes/out/libsnes.$(ARCHIVE_SUFFIX): bsnes/snes/snes.hpp forcelook
|
||||
$(MAKE) -C bsnes OPTIONS=debugger $(BSNES_PROFILE_STRING) $(BSNES_TARGET_STRING) compiler=$(bsnes_compiler)
|
||||
$(REALRANLIB) $@
|
||||
|
||||
src/__all_files__: src/core/version.cpp forcelook bsnes/out/libsnes.$(ARCHIVE_SUFFIX)
|
||||
$(MAKE) -C src precheck
|
||||
|
|
|
@ -27,6 +27,10 @@ CC=g++-4.6
|
|||
# CROSS_PREFIX is prepended to this.
|
||||
LD=ld
|
||||
|
||||
# Ranlib for target system.
|
||||
# CROSS_PREFIX is prepended to this.
|
||||
RANLIB=ranlib
|
||||
|
||||
# Host system C++ compiler.
|
||||
# If not crosscompiling, build host system and target system are one and the same.
|
||||
# $(CC) means the same compiler as main C++ compiler to use (but without prefix). Otherwise, set to host C++ compiler.
|
||||
|
|
Loading…
Add table
Reference in a new issue