class: makefile, include fixes

This commit is contained in:
Yehuda Sadeh 2009-06-08 13:48:28 -07:00
parent 4e451c1cf5
commit 501a1a6766
2 changed files with 4 additions and 1 deletions

View File

@ -134,7 +134,7 @@ testradoscio_LDADD = librados.la libcrush.la
#BUILT_SOURCES += libtestclass.so libfooclass.so libbarclass.so
libcls_crypto.so: cls_crypto.cc
${CXX} -fPIC -shared -g -o libcls_crypto.so -lcrypto cls_crypto.cc
${CXX} -I. -fPIC -shared -g -o libcls_crypto.so -lcrypto cls_crypto.cc
BUILT_SOURCES += libcls_crypto.so
libcls_trivialmap.so: cls_trivialmap.cc

View File

@ -2,6 +2,9 @@
#define __OBJCLASS_H
#ifdef __cplusplus
#include "../include/types.h"
extern "C" {
#endif