perl: simplify passing in ldflags
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 15 Oct 2017 17:52:01 +0000 (11:52 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 16 Oct 2017 22:40:22 +0000 (16:40 -0600)
Originally as PR #2383 but rewritten.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
lang/perl/files/base.config

index 5059afd368c38825e8a522070dd3c9165e220f9e..ce1ae5ab6b75b15456d9411569e4963b1d4e5e54 100644 (file)
@@ -1008,7 +1008,7 @@ ccflags="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $owrt:cflags"
 ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
 ccdlflags="-fPIC -Wl,-rpath,$owrt:perllibpath/CORE"
 cccdlflags='-fPIC'
-ldflags=''
+ldflags="$owrt:ldflags"
 ldflags_uselargefiles=''
 lddlflags="-shared $owrt:ldflags"