portmap: fix static linking
PATCH 1/1 portmap: fix static linking
Portmap builds and links, however, does not get built correctly when BR2_PREFER_STATIC_LIB is selected. There are no dynamic libraries in rootfs.tar, however, portmap gets linked dynamically without regards to the PREFER_STATIC_LIB tags. LDFLAGS was not being passed into the build of portmap.
---
package/portmap/portmap.mk +1 -2
@@ -15,8 +15,7 @@ endif define PORTMAP_BUILD_CMDS - CFLAGS="$(TARGET_CFLAGS)" \ - $(MAKE) CC="$(TARGET_CC)" -C $(@D) $(PORTMAP_FLAGS) + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(PORTMAP_FLAGS) endef
PATCH 1/1 portmap: fix static linking
Dear ANDY KENNEDY,
Quoted 7 lines · ANDY KENNEDY
Portmap builds and links, however, does not get built correctly when
BR2_PREFER_STATIC_LIBis selected. There are no dynamic libraries in rootfs.tar, however, portmap gets linked dynamically without regards to thePREFER_STATIC_LIBtags. LDFLAGS was not being passed into the build of portmap.Signed-off-by Andy Kennedy <[email protected]>
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Thomas Petazzoni
AppliedPATCH 1/1 portmap: fix static linking
In reply to ANDY KENNEDYDear ANDY KENNEDY,
Quoted 7 lines · ANDY KENNEDY
Portmap builds and links, however, does not get built correctly when
BR2_PREFER_STATIC_LIBis selected. There are no dynamic libraries in rootfs.tar, however, portmap gets linked dynamically without regards to thePREFER_STATIC_LIBtags. LDFLAGS was not being passed into the build of portmap.Signed-off-by Andy Kennedy <[email protected]>
Applied, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com