perl: put -rdynamic in proper build variable

The standard way to pass -rdynamic (or -Wl,--dynamic-export) is via
the $ccdlflags variable.  Do what is best practice.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
Philip Prindeville
2017-10-16 16:24:55 -06:00
parent b392cd595a
commit d58ac19c9f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1006,7 +1006,7 @@ full_ar="${owrt:target_cross}ar"
cppflags="$owrt:cflags"
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"
ccdlflags="-fPIC -rdynamic -Wl,-rpath,$owrt:perllibpath/CORE"
cccdlflags='-fPIC'
ldflags="$owrt:ldflags"
ldflags_uselargefiles=''