Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
02217bd2
Commit
02217bd2
authored
Sep 26, 2012
by
Brad Smith
Committed by
Fiona Glaser
Sep 26, 2012
Browse files
Fix pkg-config for dynamic vs static linking
parent
e8e8b9a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
02217bd2
...
...
@@ -1149,8 +1149,6 @@ echo "CLI_LIBX264 = $CLI_LIBX264" >> config.mak
${
SRCPATH
}
/version.sh
"
${
SRCPATH
}
"
>>
x264_config.h
pclibs
=
"-L
$libdir
-lx264
$libpthread
"
cat
>
x264.pc
<<
EOF
prefix=
$prefix
exec_prefix=
$exec_prefix
...
...
@@ -1160,7 +1158,8 @@ includedir=$includedir
Name: x264
Description: H.264 (MPEG4 AVC) encoder library
Version:
$(
grep
POINTVER < x264_config.h |
sed
-e
's/.* "//; s/".*//'
)
Libs:
$pclibs
Libs: -L
$libdir
-lx264
Libs.private:
$libpthread
$libm
Cflags: -I
$includedir
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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