Commit af69041d authored by Petri Hintukainen's avatar Petri Hintukainen

Fix pkg-config Libs.Private

parent 1be45382
Pipeline #5940 passed with stage
in 2 minutes and 12 seconds
......@@ -205,7 +205,7 @@ endif
endif
libbluray_la_LDFLAGS= -no-undefined -version-info $(LT_VERSION_INFO) -export-symbols-regex "^bd_"
libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS)
libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS) $(EXTRA_LIBS)
noinst_HEADERS = \
jni/jni.h \
......
......@@ -174,8 +174,7 @@ AS_IF([test "x$with_freetype" != "xno"], [
PACKAGES="$PACKAGES fontconfig"
])
],[
FONTCONFIG_LIBS="-lgdi32"
AC_SUBST([FONTCONFIG_LIBS])
EXTRA_LIBS="$EXTRA_LIBS -lgdi32"
])
])
......@@ -302,6 +301,7 @@ AC_CONFIG_FILES([Makefile src/libbluray.pc src/libbluray/bluray-version.h])
AC_OUTPUT
AC_SUBST([PACKAGES])
AC_SUBST([EXTRA_LIBS])
dnl ---------------------------------------------
dnl Some infos:
......
......@@ -7,6 +7,6 @@ Name: libbluray
Description: library supporting Blu-ray playback
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbluray
Libs.private: @DLOPEN_LIBS@ @FONTCONFIG_LIBS@
Libs.private: @DLOPEN_LIBS@ @EXTRA_LIBS@
Requires.private: @PACKAGES@
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