Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
finally got soname working when building libdontpanic
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Apr 29, 2012
1 parent a8bd390 commit f0c601b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified examples/Alien-DontPanic/inc/dontpanic-1.01.tar.gz
Binary file not shown.
6 changes: 4 additions & 2 deletions examples/Alien-DontPanic/inc/dontpanic_source/make.pl
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ sub build {
push @{ $config->{clean}{src} }, $o;

# Link
my $so = "libdontpanic$libbuilder->{libext}";
my $lib = $libbuilder->link(
objects => [ $o ],
extra_linker_flags => '-soname libdontpanic.so',
objects => [ $o ],
extra_linker_flags => "-Wl,-soname,$so",
lib_file => $so,
);
push @{ $config->{clean}{src} }, $lib;
push @{ $config->{install}{lib} }, $lib;
Expand Down

0 comments on commit f0c601b

Please sign in to comment.