in reply to Re^4: How To Link -lperl to Extensions During Build
in thread How To Link -lperl to Extensions During Build
Well, this is totally convoluted. The build process does not use -lperl when compiling dynamic extensions. To make it happen, I tried something like this:
Mind you, I don't actually have an android setup to play with..../Configure -des -Dprefix=/foo -Duseshrplib -Alddlflags="-shared -O2 - +Wl,-E,-L/foo/lib/perl5/5.20.2/armv7l-linux-android/CORE,-as-needed,-l +perl,-no-as-needed" make libperl.so COMMA=, SHRPLDFLAGS='$(subst $(COMMA)-lperl,,$(LDDLFLA +GS))' mkdir -p /foo/lib/perl5/5.20.2/armv7l-linux-android/CORE/ cp libperl.so /foo/lib/perl5/5.20.2/armv7l-linux-android/CORE/ make; make install
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How To Link -lperl to Extensions During Build
by cyd (Novice) on May 13, 2015 at 01:00 UTC | |
|
Re^6: How To Link -lperl to Extensions During Build
by cyd (Novice) on May 14, 2015 at 18:13 UTC | |
by Anonymous Monk on May 14, 2015 at 19:20 UTC | |
by cyd (Novice) on May 14, 2015 at 21:17 UTC | |
by cyd (Novice) on May 15, 2015 at 00:18 UTC | |
by Anonymous Monk on May 15, 2015 at 19:41 UTC | |
by cyd (Novice) on May 16, 2015 at 12:01 UTC | |
| |
by cyd (Novice) on May 16, 2015 at 15:47 UTC | |
|