This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
bcg729
mirror of
https://github.com/BelledonneCommunications/bcg729
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
8
Wiki
Activity
Browse Source
Fix visibility problem on non-mingw platforms (all symbols were hidden so the plugin could not be loaded).
pull/1/head
Ghislain MARY
12 years ago
parent
b062b1fdc3
commit
82d05cf71a
2 changed files
with
6 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
configure.ac
+3
-0
src/Makefile.am
+ 3
- 1
configure.ac
View File
@ -46,14 +46,16 @@ AC_CONFIG_FILES([
libbcg729.pc
libbcg729.pc
])
])
VISIBILITY_CFLAGS=
case "$target_os" in
case "$target_os" in
*mingw*)
*mingw*)
CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501"
CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501"
;;
;;
*)
*)
CFLAGS="
$CFLAGS
-fvisibility=hidden"
VISIBILITY_
CFLAGS="-fvisibility=hidden"
;;
;;
esac
esac
AC_SUBST(VISIBILITY_CFLAGS)
AC_OUTPUT
AC_OUTPUT
+ 3
- 0
src/Makefile.am
View File
@ -27,3 +27,6 @@ libbcg729_la_SOURCES= LP2LSPConversion.c \
libbcg729_la_LDFLAGS
=
-no-undefined
libbcg729_la_LDFLAGS
=
-no-undefined
INCLUDES
=
-I
$(
top_srcdir
)
/include
INCLUDES
=
-I
$(
top_srcdir
)
/include
AM_CFLAGS
=
$(
VISIBILITY_CFLAGS
)
Write
Preview
Loading…
Cancel
Save