bugfix for package libpano13: include ppm.c in the build

This solves the following linker error:
undefined reference to _panoPPMRead
This commit is contained in:
Bart van Andel 2010-09-26 16:38:48 +02:00
parent ecaa54a104
commit 457a4ca47c
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ define $(PKG)_BUILD
$(SED) -i 's,WINDOWSX\.H,windowsx.h,' '$(1)/sys_win.h'
$(SED) -i 's,\$${WINDRES-windres},$(TARGET)-windres,' '$(1)/build/win32/compile-resource'
$(SED) -i 's,m4 -DBUILDNUMBER=\$$buildnumber,$(SED) "s/BUILDNUMBER/\$$buildnumber/g",' '$(1)/build/win32/compile-resource'
$(SED) -i 's,\(@HAVE_MINGW_TRUE@am__objects_4 = .*\),\1 ppm.lo,' '$(1)/Makefile.in'
$(SED) -i 's,\(@HAVE_MINGW_TRUE@WIN_SRC = .*\),\1 ppm.c,' '$(1)/Makefile.in'
$(SED) -i 's,mv.*libpano13\.dll.*,,' '$(1)/Makefile.in'
cd '$(1)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \