Move mpg123.lib.so back to the standard libmpg123.lib.so

This commit is contained in:
Ehmry - 2019-07-17 16:33:10 +02:00
parent ca92c472ae
commit e78461c172
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ API_LINK = port-api
: $(API_LINK) |> cp %f/pkg-config/%d.pc %o \ : $(API_LINK) |> cp %f/pkg-config/%d.pc %o \
|> $(PKG_CONFIG_DIR)/%d.pc $(GENODE_DIR)/<pkg-config> |> $(PKG_CONFIG_DIR)/%d.pc $(GENODE_DIR)/<pkg-config>
: mpg123.symbols |> !abi_stub |> : libmpg123.symbols |> !abi_stub |>
INCLUDES += -I. INCLUDES += -I.
INCLUDES += -I$(SOURCE_LINK)/src/libmpg123 INCLUDES += -I$(SOURCE_LINK)/src/libmpg123
@ -29,7 +29,7 @@ ifeq (@(TUP_ARCH),arm)
run ./port_rules.sh $(SOURCE_LINK) common.files arm.files run ./port_rules.sh $(SOURCE_LINK) common.files arm.files
endif endif
: {obj} |> !lib |> %d.lib.so {bin} : {obj} |> !lib |> libmpg123.lib.so {bin}
: {bin} |> !collect_bin |> : {bin} |> !collect_bin |>
include &(BIN_RULES) include &(BIN_RULES)

View File

@ -20,7 +20,7 @@ preparePort rec {
sed \ sed \
-e "s|@includedir@|$api/include|" \ -e "s|@includedir@|$api/include|" \
-e 's/@PACKAGE_VERSION@/${(builtins.parseDrvName name).version}/' \ -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' \ -e '/@/d' \
< libmpg123.pc.in > $api/pkg-config/mpg123.pc < libmpg123.pc.in > $api/pkg-config/mpg123.pc
''; '';