projects
/
goodguy
/
cinelerra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
939d0c1
)
fix shuttle for Termux/Android too
author
Good Guy
<good1.2guy@gmail.com>
Fri, 26 Nov 2021 05:07:29 +0000
(22:07 -0700)
committer
Good Guy
<good1.2guy@gmail.com>
Fri, 26 Nov 2021 05:07:29 +0000
(22:07 -0700)
cinelerra-5.1/cinelerra/Makefile
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/cinelerra/Makefile
b/cinelerra-5.1/cinelerra/Makefile
index 3fa58be7ecb6dce9aa944df2daf60a7b4f2d2027..1c10fc038597854189c91cdf92feb1babb4f21e1 100644
(file)
--- a/
cinelerra-5.1/cinelerra/Makefile
+++ b/
cinelerra-5.1/cinelerra/Makefile
@@
-592,9
+592,16
@@
install: install-lv2ui
endif
ifneq ($(WANT_SHUTTLE),no)
endif
ifneq ($(WANT_SHUTTLE),no)
+X11_INCS := /usr/include/
+X11_INCS1 := $(shell pkg-config --cflags-only-I x11 | sed "s/-I//")
+
+ifneq ($(X11_INCS1),)
+X11_INCS := $(X11_INCS1)
+endif
+
$(OBJDIR)/shuttle.o: shuttle.C shuttle_keys.h
$(OBJDIR)/shuttle.o: shuttle.C shuttle_keys.h
-shuttle_keys.h:
/usr/include
/X11/keysymdef.h
- sed -n
< /usr/include
/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed
+shuttle_keys.h:
$(X11_INCS)
/X11/keysymdef.h
+ sed -n
$(X11_INCS)
/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed
endif
$(OBJDIR)/pluginlv2gui.o: pluginlv2gui.C
endif
$(OBJDIR)/pluginlv2gui.o: pluginlv2gui.C