提交 adf11b39 编写于 作者: 李鸿章

include the directory when naming .h files

上级 15a7ad78
......@@ -67,7 +67,7 @@ build_crc32() {
c++ -O2 -O3 -shared -std=c++11 -fPIC -fstack-protector-all -D_FORTIFY_SOURCE=2 \
-Wno-maybe-uninitialized -Wno-unused-parameter -Wall -Wl,-z,relro,-z,now,-z,noexecstack \
-I"$THIRD_PARTY_DIR/securec/include" "${PYBIND11_INCLUDES[0]}" "${PYBIND11_INCLUDES[1]}" \
-I"$THIRD_PARTY_DIR" "${PYBIND11_INCLUDES[0]}" "${PYBIND11_INCLUDES[1]}" \
-o "$CRC32_SO_FILE" crc32.cc "$BUILDDIR/libsecurec.a"
if [ ! -f "$CRC32_SO_FILE" ]; then
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "crc32.h"
#include "./crc32.h"
static const uint32_t crc_table_o32[CRC_TABLE_SIZE] = {
......
......@@ -20,7 +20,7 @@
#include <cstddef>
#include <cstdint>
#include "pybind11/pybind11.h"
#include "securec.h"
#include "securec/include/securec.h"
#define CRC_TABLE_SIZE 256
#define RIGHT_SHIFT 15
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册