Browse Source

Minor build fix.

cl-refactor
Gav Wood 11 years ago
parent
commit
eb2bdaa880
  1. 2
      libpyserpent/pyserpent.cpp
  2. 2
      pullSerpent.sh

2
libpyserpent/pyserpent.cpp

@ -1,5 +1,5 @@
#include <Python.h>
#include <libserpent/structmember.h>
#include "structmember.h"
#include <stdlib.h>
#include <stdio.h>

2
pullSerpent.sh

@ -7,5 +7,5 @@ cp bignum.* compiler.* funcs.* lllparser.* opcodes.h parser.* rewriter.* tokeniz
cp cmdline.* "$opwd/sc/"
cp pyserpent.* "$opwd/libpyserpent/"
cd "$opwd"
perl -i -p -e 's:include "(.*)":include <libserpent/$1>:gc' sc/* libpyserpent/*
perl -i -p -e 's:include "funcs.h":include <libserpent/funcs.h>:gc' sc/* libpyserpent/*

Loading…
Cancel
Save