X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=backends%2Flibbitcoin%2FMakefile;fp=backends%2Flibbitcoin%2FMakefile;h=96cc1cf1c898298b9c1fabacf1c2bfb358c22f83;hp=3f44322ed02ad5ee99088e0fe73097dfdca608e0;hb=ce2fafb656aa4a5ae43bda3617c6bdedcf9c5a84;hpb=f3bcc7b942360117a00dfa24902768f9d3027da5 diff --git a/backends/libbitcoin/Makefile b/backends/libbitcoin/Makefile index 3f44322..96cc1cf 100644 --- a/backends/libbitcoin/Makefile +++ b/backends/libbitcoin/Makefile @@ -1,5 +1,9 @@ CC = g++ -fPIC -Wall -ansi `pkg-config --cflags libbitcoin` -I/usr/include/python2.7 +membuf: + $(CC) -c membuf.cpp -o membuf.o + $(CC) -shared -Wl,-soname,membuf.so membuf.o -lpython2.7 -lboost_python `pkg-config --libs libbitcoin` -lboost_thread -o membuf.so + default: $(CC) -c history.cpp -o history.o $(CC) -shared -Wl,-soname,_history.so history.o -lpython2.7 -lboost_python `pkg-config --libs libbitcoin` -lboost_thread -o history1/_history.so