Install internal headers for Go bindings
Go, and likely other language bindings will, need access to create new combinators. This functionality is currently located src/parsers/parser_internal.h. Install this header to the system with dependent headers until a better solution can be found.
This commit is contained in:
parent
87c380f82c
commit
76034ae4d7
2 changed files with 17 additions and 1 deletions
|
|
@ -28,6 +28,8 @@ if 'DESTDIR' in env:
|
|||
|
||||
env['libpath'] = calcInstallPath("$prefix", "lib")
|
||||
env['incpath'] = calcInstallPath("$prefix", "include", "hammer")
|
||||
env['parsersincpath'] = calcInstallPath("$prefix", "include", "hammer", "parsers")
|
||||
env['backendsincpath'] = calcInstallPath("$prefix", "include", "hammer", "backends")
|
||||
env['pkgconfigpath'] = calcInstallPath("$prefix", "lib", "pkgconfig")
|
||||
env.ScanReplace('libhammer.pc.in')
|
||||
|
||||
|
|
@ -90,4 +92,6 @@ env.Command('test', 'build/$VARIANT/src/test_suite', 'env LD_LIBRARY_PATH=build/
|
|||
|
||||
env.Alias("install", "$libpath")
|
||||
env.Alias("install", "$incpath")
|
||||
env.Alias("install", "$parsersincpath")
|
||||
env.Alias("install", "$backendsincpath")
|
||||
env.Alias("install", "$pkgconfigpath")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue