]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - lib/Makefile.bsd-lib
Include LDFLAGS when building BSD libraries
[thirdparty/e2fsprogs.git] / lib / Makefile.bsd-lib
index 51e9dc771c2a8fdeadcab055ab3fc0e3270cb0ff..0ca09f8c9de99bd85cf44795fd9a8c74cf2f86f6 100644 (file)
@@ -22,7 +22,7 @@ BSDLIB_PIC_FLAG = -fpic
 image:         $(BSD_LIB)
 
 $(BSD_LIB): $(OBJS)
-       (cd pic; ld -Bshareable -o $(BSD_LIB) $(OBJS))
+       (cd pic; ld -Bshareable -o $(BSD_LIB) $(LDFLAGS) $(OBJS))
        $(MV) pic/$(BSD_LIB) .
        $(RM) -f ../$(BSD_LIB)
        (cd ..; $(LN) $(LINK_BUILD_FLAGS) \