Made png.so and jpeg.so link against Imlib2 when building, this makes the perl

bindings problem with undefined symbols for __imlib_GetTag disappear since those
two loaders call that function to determine some image flags when saving.
Kick me in the butt if I am not supposed to do that but KainX said I should.
The differance in .so size is minimal, 30 bytes for png.so and 20 bytes for jpeg.so.


SVN revision: 4099
This commit is contained in:
Maher Awamy 2001-01-06 08:41:00 +00:00
parent 157dad2d37
commit 08afe64133
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = 1.4 foreign
# A list of all the files in the current directory which can be regenerated
MAINTAINERCLEANFILES = Makefile.in
LDFLAGS = -L/usr/X11R6/lib
LDFLAGS = -L/usr/X11R6/lib -L../src
INCLUDES = -I/usr/X11R6/include -I$(top_srcdir)/libltdl \
$(X_CFLAGS) -I$(prefix)/include -I$(includedir) \
-I. -I$(top_srcdir) -I$(top_srcdir)/src \
@ -39,11 +39,11 @@ pnm.la argb.la bmp.la xpm.la tga.la #xcf.la
jpeg_la_SOURCES = loader_jpeg.c
jpeg_la_LDFLAGS = -no-undefined -module -avoid-version
jpeg_la_LIBADD = @JPEGLIBS@
jpeg_la_LIBADD = -lImlib2 @JPEGLIBS@
png_la_SOURCES = loader_png.c
png_la_LDFLAGS = -no-undefined -module -avoid-version
png_la_LIBADD = @PNGLIBS@
png_la_LIBADD = -lImlib2 @PNGLIBS@
db_la_SOURCES = loader_db.c
db_la_LDFLAGS = -no-undefined -module -avoid-version