Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dontpanic build chain: darwin-specific linker argument

  • Loading branch information...
commit 126ed318f162599b83d9261a8c8170ad704647d1 1 parent b3e11ab
@jberger jberger authored
View
BIN  examples/Alien-DontPanic/inc/dontpanic-1.01.tar.gz
Binary file not shown
View
3  examples/Alien-DontPanic/inc/dontpanic_source/make.pl
@@ -52,9 +52,10 @@ sub build {
# Link
my $so = "libdontpanic$libbuilder->{libext}";
+ my $soname = $^O eq 'darwin' ? '-install_name' : '-soname';
$libbuilder->link(
objects => [ $o ],
- extra_linker_flags => "-Wl,-soname,$so",
+ extra_linker_flags => "-Wl,$soname,$so",
lib_file => $so,
);
Please sign in to comment.
Something went wrong with that request. Please try again.