summaryrefslogtreecommitdiff
path: root/gdbm/gdbm-1.8.3-compat-linking.patch
blob: cebcf4e917ee870891f89ac8ab7420c24700ca07 (plain)
    1 Since libgdbm_compat uses libgdbm, make sure we link it in.
    2 
    3 http://bugs.gentoo.org/165263
    4 
    5 --- gdbm-1.8.3/Makefile.in
    6 +++ gdbm-1.8.3/Makefile.in
    7 @@ -161,10 +161,10 @@
    8  	$(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \
    9  		-version-info $(SHLIB_VER) $(LOBJS)
   10  
   11 -libgdbm_compat.la: $(C_LOBJS) gdbm.h
   12 +libgdbm_compat.la: $(C_LOBJS) gdbm.h libgdbm.la
   13  	rm -f libgdbm_compat.la
   14  	$(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \
   15 -		-version-info $(SHLIB_VER) $(C_LOBJS)
   16 +		-version-info $(SHLIB_VER) $(C_LOBJS) libgdbm.la
   17  
   18  gdbm.h:	gdbm.proto gdbmerrno.h gdbm.proto2
   19  	rm -f gdbm.h

Generated by cgit