ALT Linux Bugzilla
– Attachment 15061 Details for
Bug 48474
highlight: perl XS does not link with -lperl
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
highlight-alt-link-with-perl.patch
highlight-alt-link-with-perl.patch (text/plain), 924 bytes, created by
viy
on 2023-11-16 19:04:00 MSK
(
hide
)
Description:
highlight-alt-link-with-perl.patch
Filename:
MIME Type:
Creator:
viy
Created:
2023-11-16 19:04:00 MSK
Size:
924 bytes
patch
obsolete
>diff --git a/highlight/extras/swig/makefile b/highlight/extras/swig/makefile >index 1e9a0b2..e187e59 100644 >--- a/highlight/extras/swig/makefile >+++ b/highlight/extras/swig/makefile >@@ -9,6 +9,7 @@ LUA_CFLAGS=$(shell pkg-config --cflags lua) > LUA_LIBS=$(shell pkg-config --libs lua) > PYTHON_CFLAGS=$(shell pkg-config --cflags python-2.7) > PERL_INC=$(shell perl -MExtUtils::Embed -eccopts) >+PERL_LIBS=$(shell perl -MExtUtils::Embed -eldopts) > PHP_INC=$(shell php-config --includes) > > lib-stamp: >@@ -29,7 +30,7 @@ perl: lib-stamp > php: lib-stamp > swig -c++ -php -o highlight_wrap.cpp highlight.i > ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PHP_INC} -I${HL_INC} >- ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so >+ ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} ${PERL_LIBS} -o highlight.so > > clean: python-clean perl-clean php-clean > rm -f *-stamp
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48474
: 15061