Commit 968d829b authored by David Fuhrmann's avatar David Fuhrmann

build: Fix build of VLCKit project

VLCROOT is now an absolute path, whereas it was a relative path
beforehand. Therefore, $PROJECT_DIR is not needed anymore as prefix.
parent 3650673a
......@@ -909,7 +909,7 @@ build_universal_static_lib() {
# add contrib libraries to LDFLAGS
for file in $CONTRIBLIBS
do
LDFLAGS+="\$(PROJECT_DIR)/${VLCROOT}/install-"$OSSTYLE"/contrib/$file "
LDFLAGS+="${VLCROOT}/install-$OSSTYLE/contrib/$file "
done
for file in $VLCMODULES
......@@ -918,7 +918,7 @@ build_universal_static_lib() {
entryname=$(get_symbol "$symbols" _)
DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n";
BUILTINS+=" $entryname,\n"
LDFLAGS+="\$(PROJECT_DIR)/${VLCROOT}/install-"$OSSTYLE"/plugins/$file "
LDFLAGS+="${VLCROOT}/install-$OSSTYLE/plugins/$file "
info "...$entryname"
done;
......@@ -932,7 +932,7 @@ build_universal_static_lib() {
entryname=$(get_symbol "$symbols" _)
DEFINITIONS+="int $entryname (int (*)(void *, void *, int, ...), void *);\n";
BUILTINS+=" $entryname,\n"
LDFLAGS+="\$(PROJECT_DIR)/${VLCROOT}/install-"$OSSTYLE"/plugins/$file "
LDFLAGS+="${VLCROOT}/install-$OSSTYLE/plugins/$file "
info "...$entryname"
done;
BUILTINS+="#endif\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment