| Obey LDFLAGS |
| |
| Signed-off-by: Christopher Larson <chris_larson@mentor.com> |
| Upstream-Status: Inappropriate [old version] |
| |
| --- gdbm-1.8.3.orig/Makefile.in |
| +++ gdbm-1.8.3/Makefile.in |
| @@ -156,12 +156,12 @@ install-compat: |
| |
| libgdbm.la: $(LOBJS) gdbm.h |
| rm -f libgdbm.la |
| - $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \ |
| + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm.la -rpath $(libdir) \ |
| -version-info $(SHLIB_VER) $(LOBJS) |
| |
| libgdbm_compat.la: $(C_LOBJS) gdbm.h |
| rm -f libgdbm_compat.la |
| - $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \ |
| + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm_compat.la -rpath $(libdir) \ |
| -version-info $(SHLIB_VER) $(C_LOBJS) |
| |
| gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2 |