microperl: fix host build
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 4 Mar 2012 21:09:05 +0000 (22:09 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 6 Mar 2012 21:21:39 +0000 (22:21 +0100)
It misses -lm when compiling miniperl

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/microperl/microperl.mk

index b68e82548af06577fd084cb53d5ddfe8ffb9d746..de5ecd6d86cadf414868fdd2ab313cde4403fa7f 100644 (file)
@@ -32,7 +32,7 @@ $(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
 
 $(MICROPERL_DIR)/.host_configured: $(MICROPERL_DIR)/.source
        # we need to build a perl for the host just for Errno.pm
-       (cd $(MICROPERL_DIR); ./Configure -Dcc="$(HOSTCC)" -de  )
+       (cd $(MICROPERL_DIR); ./Configure -Dcc="$(HOSTCC)" -de -A libs='-lm' )
        touch $@