build: fix pkgconfig cflags and libdir variables (#284)
This commit is contained in:
parent
a010123801
commit
acf58d235e
5
Makefile
5
Makefile
@ -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
|
||||
|
@ -1,7 +1,3 @@
|
||||
exec_prefix=${prefix}
|
||||
includedir=${prefix}/include
|
||||
libdir=${exec_prefix}/lib
|
||||
|
||||
Name: openlibm
|
||||
Version: ${version}
|
||||
URL: https://github.com/JuliaMath/openlibm
|
||||
|
Loading…
x
Reference in New Issue
Block a user