Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
b8a83e88
Commit
b8a83e88
authored
Mar 13, 2018
by
Albert Gräf
Browse files
Change the pkg-config command to properly detect the Lua library also on Debian/Ubuntu.
parent
ec056736
Changes
1
Hide whitespace changes
Inline
Side-by-side
externals/Makefile
View file @
b8a83e88
...
...
@@ -1406,8 +1406,12 @@ pddp_clean:
#------------------------------------------------------------------------------#
# PDLUA
LUA_CFLAGS
=
$(
shell
(
pkg-config
--cflags
lua5.3
||
pkg-config
--cflags
lua5.2
||
pkg-config
--cflags
lua
)
2> /dev/null
)
LUA_LIBS
=
$(
shell
(
pkg-config
--libs
lua5.3
||
pkg-config
--libs
lua5.2
||
pkg-config
--libs
lua
)
2> /dev/null
)
pdlua
:
make
-C
$(externals_src)
/pd-lua
LUA_CFLAGS
=
"
$(
shell
pkg-config --cflags lua
)
"
LUA_LIBS
=
"
$(
shell
pkg-config --libs lua
)
"
PD_PATH
=
$(pd_src)
CFLAGS
=
"
$(CFLAGS)
"
make
-C
$(externals_src)
/pd-lua
LUA_CFLAGS
=
"
$(
LUA_CFLAGS)
"
LUA_LIBS
=
"
$(LUA_LIBS
)
"
PD_PATH
=
$(pd_src)
CFLAGS
=
"
$(CFLAGS)
"
pdlua_install
:
make
-C
$(externals_src)
/pd-lua
DESTDIR
=
"
$(DESTDIR)
"
objectsdir
=
"
$(objectsdir)
"
install
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment