Skip to content

Commit

Permalink
build: fix pkgconfig cflags and libdir variables (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
svmhdvn authored Jan 10, 2024
1 parent a010123 commit acf58d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ clean:
$(MAKE) -C test clean

openlibm.pc: openlibm.pc.in Make.inc Makefile
echo "prefix=${prefix}" > openlibm.pc
echo "version=${VERSION}" >> openlibm.pc
echo "version=${VERSION}" > openlibm.pc
echo "libdir=$(DESTDIR)$(libdir)" >> openlibm.pc
echo "includedir=$(DESTDIR)$(includedir)/openlibm" >> openlibm.pc
cat openlibm.pc.in >> openlibm.pc

install-static: libopenlibm.a
Expand Down
4 changes: 0 additions & 4 deletions openlibm.pc.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib

Name: openlibm
Version: ${version}
URL: https://github.com/JuliaMath/openlibm
Expand Down

0 comments on commit acf58d2

Please sign in to comment.