]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
Specify libdir the same way both for ferment and bake.
authorAntti Kantee <pooka@iki.fi>
Mon, 12 Oct 2015 14:01:50 +0000 (14:01 +0000)
committerAntti Kantee <pooka@iki.fi>
Mon, 12 Oct 2015 14:01:50 +0000 (14:01 +0000)
app-tools/Makefile.app-tools
app-tools/specs-bake.in

index b54d6f02f56c5617e9926e9784bedb1fd57a1029..27ca188180a3ce25adbde6b80f72937e108fae13 100644 (file)
@@ -12,8 +12,6 @@ ifdef _APPTOOLS_MISSING
 $(error ${_APPTOOLS_MISSING} not defined)
 endif
 
-LDFLAGS_BAKE+= -L$(DESTDIR)/lib
-
 APP_TOOL_FILES=                configure make gmake toolchain.cmake recipe.s
 APP_TOOL_COMPILERS=    cc c++
 
index 946f6d3a4a231df72acc483e6b08f97b5ab46fc7..ee8680f98a0a9a2732d1e03e4c39dbf96ef3cb9b 100644 (file)
@@ -5,7 +5,8 @@
 
 
 *lib:
-!LDFLAGS_BAKE! --whole-archive -lrump --no-whole-archive               \
+!LDFLAGS_BAKE! -L!DESTDIR!/lib                                         \
+    --whole-archive -lrump --no-whole-archive                          \
     --start-group -lrumprun_base -lpthread -lc --end-group             \
     -lbmk_rumpuser -lbmk_core