summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 438ab068..5b72f47f 100644
--- a/Makefile
+++ b/Makefile
@@ -1419,7 +1419,7 @@ tags TAGS xrefs: ${BUILD}/cscope.files
${Q}$(call run_if_prog,etags,${cmd_etags})
${Q}$(call run_if_prog,ctags,${cmd_ctags})
-PC_FILES = ${PC_IN_FILES:%.pc.in=%.pc}
+PC_FILES = ${PC_IN_FILES:%.pc.in=${BUILD}/%.pc}
${PC_FILES}: ${PC_IN_FILES}
${Q}sed \
-e 's:@LDLIBS@:${LDLIBS}:' \
@@ -1429,4 +1429,4 @@ ${PC_FILES}: ${PC_IN_FILES}
.PHONY: pc_files_install
pc_files_install: ${PC_FILES}
${Q}mkdir -p ${ULP_DIR}
- ${Q}${INSTALL} -D -m 0644 $< ${ULP_DIR}/$<
+ ${Q}${INSTALL} -D -m 0644 $< ${ULP_DIR}/$(notdir $<)