Try and figure out why the C Compiler thinks it needs to find iostream when the C++ library has already been compiled. Make the makefile aware of variables in the environment

This commit is contained in:
idk 2021-06-17 18:25:55 -04:00
parent 45ef6cba9d
commit 5013ce5649
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
2 changed files with 37 additions and 14 deletions

16
libi2pd/api.swigcxx Normal file
View file

@ -0,0 +1,16 @@
// See swig.org for more inteface options,
// e.g. map std::string to Go string
%{
#include "api.h"
//#include "Streaming.h"
#include "Destination.h"
//#include "Identity.h"
//#include "Tag.h"
%}
%include "api.h"
//%include "Streaming.h"
//%include "Destination.h"
//%include "Identity.h"
//%include "Tag.h"