diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-03 18:39:12 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-03 18:56:13 (GMT) |
commit | 8aa141437b709900218873ad0aa90aa842750b88 (patch) | |
tree | a92a5c1918f8dc5c04fa93c4086d13d6688d8c47 /src/ftgl.mk | |
parent | 3f8829556fa0c9afb1e94a6d52f3f33053af75b9 (diff) | |
download | mxe-8aa141437b709900218873ad0aa90aa842750b88.zip mxe-8aa141437b709900218873ad0aa90aa842750b88.tar.gz mxe-8aa141437b709900218873ad0aa90aa842750b88.tar.bz2 |
ftgl: install pkg-config file
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/ftgl.mk')
-rw-r--r-- | src/ftgl.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ftgl.mk b/src/ftgl.mk index b3a2554..e31b198 100644 --- a/src/ftgl.mk +++ b/src/ftgl.mk @@ -17,6 +17,7 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + cd '$(1)' && $(SED) -i 's/-lm/-lm -lstdc++/' ftgl.pc.in cd '$(1)' && aclocal -I m4 cd '$(1)' && $(LIBTOOLIZE) cd '$(1)' && automake --gnu @@ -28,10 +29,11 @@ define $(PKG)_BUILD --with-ft-prefix='$(PREFIX)/$(TARGET)' $(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' + $(INSTALL) -m644 '$(1)/ftgl.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \ - -lftgl -lm -lstdc++ \ - `'$(TARGET)-pkg-config' freetype2 gl glu --cflags --libs` + `'$(TARGET)-pkg-config' ftgl --cflags --libs` endef |