fix: make install fail when libtoml.pc does not exist
This commit is contained in:
parent
894902820a
commit
d4c94500c4
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -37,8 +37,11 @@ install: all
|
|||
install $(LIB) ${prefix}/lib
|
||||
install $(LIB_SHARED) ${prefix}/lib
|
||||
ifeq "$(prefix)" "/usr/local"
|
||||
ifneq ("$(wildcard $(PCFILE))","")
|
||||
install $(PCFILE) /usr/local/lib/pkgconfig
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o $(EXEC) $(LIB) $(LIB_SHARED)
|
||||
|
|
Loading…
Reference in a new issue