forked from ElektraInitiative/libelektra
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pkg-config file for go-elektra and copy on cmake (ElektraInitiati…
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package kdb | ||
|
||
// #cgo pkg-config: elektra | ||
// #cgo pkg-config: go-elektra | ||
// #include <kdb.h> | ||
import "C" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prefix="@CMAKE_BINARY_DIR@" | ||
libdir=${prefix}/lib | ||
srcinclude=${prefix}/src/include | ||
buildinclude="@CMAKE_SOURCE_DIR@"/src/include | ||
|
||
Name: @PACKAGE_NAME@ | ||
Description: @PACKAGE_DESCRIPTION@ | ||
Version: @KDB_VERSION@ | ||
Cflags: -I${srcinclude} -I${buildinclude} | ||
Libs: -L${libdir} -lelektra |