summaryrefslogtreecommitdiff
blob: 519722f43371acf08922dfac0d6f410490e55716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- example/Makefile.am
+++ example/Makefile.am
@@ -37,8 +37,7 @@
 otfdump_LDADD = ${CommonLDADD}
 
 otfview_SOURCE = otfview.c
-otfview_LDADD = ${CommonLDADD}
-otfview_LDFLAGS = ${X_LIBS} ${X_PRE_LIBS} @X11_XT_XAW_XMU@ ${X_EXTRA_LIBS}
+otfview_LDADD = ${CommonLDADD} ${X_LIBS} ${X_PRE_LIBS} @X11_XT_XAW_XMU@ ${X_EXTRA_LIBS}
 
 otftobdf_SOURCE = otftobdf.c
 otftobdf_LDADD = ${CommonLDADD}
--- libotf.pc.in
+++ libotf.pc.in
@@ -7,5 +7,6 @@
 Description: OpenType font library
 Version: @PACKAGE_VERSION@
 Requires: freetype2
-Libs: @FREETYPE_LD_FLAGS@ -L${libdir} -lotf
+Libs: -L${libdir} -lotf
+Libs.private: @FREETYPE_LD_FLAGS@
 Cflags: @FREETYPE_INC@ -I${includedir}