Browse Source

add conanfile.py

pull/866/head
amiya-elear GitHub 6 years ago
parent
commit
812ce393e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions
  1. +2
    -3
      conanfile.py
  2. +1
    -1
      configure.ac

+ 2
- 3
conanfile.py View File

@@ -1,12 +1,11 @@
from conans import ConanFile, AutoToolsBuildEnvironment, tools
from conans import ConanFile, AutoToolsBuildEnvironment

class JsonclibConan(ConanFile):
name = "json-c"
version = "0.1"
license = "<Put the package license here>"
author = "<Put your name here> <And your email here>"
url = "<Package recipe repository url here, for issues about the package>"
description = "<Description of jsonclib here>"
description = "This recipe file used to build and package binaries of json-c repository"
topics = ("<Put some tag here>", "<here>", "<and here>")
settings = "os", "compiler", "build_type", "arch"
options = { "shared": [True, False] }


+ 1
- 1
configure.ac View File

@@ -165,7 +165,7 @@ AS_IF([test "x$enable_Bsymbolic" = "xcheck"],
AS_IF([test "x$enable_Bsymbolic" = "xyes"], [JSON_BSYMBOLIC_LDFLAGS=-Wl[,]-Bsymbolic-functions])
AC_SUBST(JSON_BSYMBOLIC_LDFLAGS)

AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wcast-qual -Wno-error=deprecated-declarations])
AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wcast-qual -Wno-error=deprecated-declarations -fPIC])
AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-string -Wno-unused-parameter])
AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE])



Loading…
Cancel
Save