Fix Libbsc and dynamic lib builds.

This commit is contained in:
Moinak Ghosh 2014-05-04 14:45:07 +05:30
parent 4a9cd8c48e
commit 9cbdd7ce8c
2 changed files with 4 additions and 4 deletions

View file

@ -383,7 +383,7 @@ $(PROGOBJS): $(PROGSRCS) $(PROGHDRS)
$(COMPILE) $(GEN_OPT) $(LOOP_OPTFLAGS) $(CPPFLAGS) $(@:.o=.c) -o $@ $(COMPILE) $(GEN_OPT) $(LOOP_OPTFLAGS) $(CPPFLAGS) $(@:.o=.c) -o $@
$(LIBBSCLIB): $(LIBBSCLIB):
(cd $(LIBBSCDIR); make CC=$(GCC)) (cd $(LIBBSCDIR); make CC=$(GPP))
$(LIB): $(OBJS) $(LIBBSCLIB) $(LIB): $(OBJS) $(LIBBSCLIB)
$(LINK.LIB) -Wl,-soname$(LIB).$(LIBVER) -o $(LIB).$(LIBVER) $(OBJS) $(LDLIBS) $(LINK.LIB) -Wl,-soname$(LIB).$(LIBVER) -o $(LIB).$(LIBVER) $(OBJS) $(LDLIBS)

6
config
View file

@ -75,8 +75,8 @@ sha256objs=
keylen= keylen=
yasm=yasm yasm=yasm
yasm_params_linux="-f x64 -f elf64 -X gnu -g dwarf2 -D LINUX" yasm_params_linux="-f x64 -f elf64 -X gnu -g dwarf2 -D LINUX"
yasm_params_osx="-f macho64" yasm_params_osx="-f macho64 --prefix=_"
yasm_params_gas_osx="-f macho64 -X gnu -p gas" yasm_params_gas_osx="-f macho64 -X gnu -p gas --prefix=_"
yasm_params_gas= yasm_params_gas=
keccak_srcs= keccak_srcs=
keccak_hdrs= keccak_hdrs=
@ -353,7 +353,7 @@ if [ "$OS" = "Darwin" ]
then then
crypto_asm_compile='\$\(CRYPTO_ASM_COMPILE2\)' crypto_asm_compile='\$\(CRYPTO_ASM_COMPILE2\)'
use_clang_as="-Wa,-q" use_clang_as="-Wa,-q"
soname_opt="install_name,@rpath/" soname_opt="install_name,"
rpath="-rpath," rpath="-rpath,"
dtag_val="" dtag_val=""
lrt="" lrt=""