diff --git a/ports/mpg123/Tupfile b/ports/mpg123/Tupfile index 15781df..0d46710 100644 --- a/ports/mpg123/Tupfile +++ b/ports/mpg123/Tupfile @@ -11,7 +11,7 @@ API_LINK = port-api : $(API_LINK) |> cp %f/pkg-config/%d.pc %o \ |> $(PKG_CONFIG_DIR)/%d.pc $(GENODE_DIR)/ -: mpg123.symbols |> !abi_stub |> +: libmpg123.symbols |> !abi_stub |> INCLUDES += -I. INCLUDES += -I$(SOURCE_LINK)/src/libmpg123 @@ -29,7 +29,7 @@ ifeq (@(TUP_ARCH),arm) run ./port_rules.sh $(SOURCE_LINK) common.files arm.files endif -: {obj} |> !lib |> %d.lib.so {bin} +: {obj} |> !lib |> libmpg123.lib.so {bin} : {bin} |> !collect_bin |> include &(BIN_RULES) diff --git a/ports/mpg123/default.nix b/ports/mpg123/default.nix index a947ec7..a01ef3d 100644 --- a/ports/mpg123/default.nix +++ b/ports/mpg123/default.nix @@ -20,7 +20,7 @@ preparePort rec { sed \ -e "s|@includedir@|$api/include|" \ -e 's/@PACKAGE_VERSION@/${(builtins.parseDrvName name).version}/' \ - -e 's/^Libs:.*/Libs: -l:mpg123.lib.so/' \ + -e 's/^Libs:.*/Libs: -l:libmpg123.lib.so/' \ -e '/@/d' \ < libmpg123.pc.in > $api/pkg-config/mpg123.pc ''; diff --git a/ports/mpg123/mpg123.symbols b/ports/mpg123/libmpg123.symbols similarity index 100% rename from ports/mpg123/mpg123.symbols rename to ports/mpg123/libmpg123.symbols