Commit 78e2db66 authored by Diego Elio Pettenò's avatar Diego Elio Pettenò Committed by Jean-Baptiste Kempf

build: make sure to add -ldl to Libs.private if needed.

Signed-off-by: Diego Elio Pettenò's avatarDiego Elio Pettenò <>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 8c321835
......@@ -126,6 +126,10 @@ AS_IF([test "${SYS}" != "mingw32"], [
AC_SEARCH_LIBS([pthread_create], [pthread], ,
[AC_MSG_ERROR([pthread required])])
AC_SEARCH_LIBS([dlopen], [dl])
[no|none\ required], [DLOPEN_LIBS=""])
dnl libxml2 for metadata parser
......@@ -7,4 +7,5 @@ Name: libbluray
Description: library supporting Blu-ray playback
Libs: -L${libdir} -lbluray
Libs.private: @DLOPEN_LIBS@
Cflags: -I${includedir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment