Skip to content

Commit

Permalink
fixed pkgconfig build-problem with non-absolute paths
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Nov 23, 2023
1 parent 075daa7 commit 7b644a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.project
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _SMEKA_project = 1
# Step this version upon new versions
PROJECT_MAJOR = 0
PROJECT_MINOR = 8
PROJECT_MICRO = 3
PROJECT_MICRO = 4
PROJECT_VERSION = $(PROJECT_MAJOR).$(PROJECT_MINOR).$(PROJECT_MICRO)

# These are constant default
Expand Down
6 changes: 3 additions & 3 deletions flook.pc.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
prefix=@PREFIX@
exec_prefix=${prefix}
bindir=@BIN_DIR@
includedir=@INC_DIR@
libdir=@LIB_DIR@
bindir=${prefix}/@BIN_DIR@
includedir=${prefix}/@INC_DIR@
libdir=${prefix}/@LIB_DIR@

Name: @PROJECT_NAME@
Description: Fortran-Lua hook library to control flow from scripting language.
Expand Down
4 changes: 2 additions & 2 deletions smeka/Makefile.pkgconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ smeka-pkgconfig-init-dir: smeka-install-init-dir
.PHONY: smeka-pkgconfig
.NOTPARALLEL: smeka-pkgconfig
smeka-pkgconfig: smeka-pkgconfig-init-dir
$(SED) "s:@PREFIX@:$(PREFIX):g;\
s:@CMAKE_INSTALL_PREFIX@:$(PREFIX):g;\
$(SED) "s:@PREFIX@:$(realpath $(PREFIX)):g;\
s:@CMAKE_INSTALL_PREFIX@:$(realpath $(PREFIX)):g;\
s:@PROJECT_NAME@:$(PROJECT_NAME):g;\
s:@PROJECT_VERSION@:$(PROJECT_VERSION):g;\
s:@INC_DIR@:$(INC_DIR):g;\
Expand Down

0 comments on commit 7b644a2

Please sign in to comment.