File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ INSTALLOBJDIR=$(IRTEUSDIR)/$(ARCHDIR)/obj
31
31
INSTALLLIBDIR =$(IRTEUSDIR ) /$(ARCHDIR ) /lib
32
32
33
33
# check bullet version
34
- BULLET_VER_MAJOR: =$(shell pkg-config bullet --modversion | cut -f1 -d.)
35
- BULLET_VER_MINOR: =$(shell pkg-config bullet --modversion | cut -f2 -d.)
36
- BULLET_GE_2_83 =$(shell [ $(BULLET_VER_MAJOR ) -gt 2 -o \( $(BULLET_VER_MAJOR ) -eq 2 -a $(BULLET_VER_MINOR ) -ge 83 \) ] && echo true)
34
+ BULLET_VER_MAJOR: =$(shell pkg-config bullet --modversion --silence-errors | cut -f1 -d.)
35
+ BULLET_VER_MINOR: =$(shell pkg-config bullet --modversion --silence-errors | cut -f2 -d.)
36
+ ifneq ($(and $(BULLET_VER_MAJOR ) ,$(BULLET_VER_MINOR ) ) ,)
37
+ BULLET_GE_2_83 =$(shell [ $(BULLET_VER_MAJOR ) -gt 2 -o \( $(BULLET_VER_MAJOR ) -eq 2 -a $(BULLET_VER_MINOR ) -ge 83 \) ] && echo true)
38
+ endif
37
39
ifeq ($(BULLET_GE_2_83 ) , true)
38
40
HAVE_BULLET =1
39
41
else
You can’t perform that action at this time.
0 commit comments