VirtualBox

Changeset 16454 in vbox for trunk/src/VBox/Main/cbinding


Ignore:
Timestamp:
Feb 2, 2009 11:12:00 AM (16 years ago)
Author:
vboxsync
Message:

Use -Xlinker -rpath -Xlinker $(PATH_BIN)
instead of -Wl,-rpath $(PATH_BIN).
The latter works only accidentally because $(PATH_BIN)
ends up right after -rpath for collect2. Now it works by design.
Could have used -Wl,-rpath,$(PATH_BIN) but there's no
guarantee that PATH_BIN has no commas where gcc would split args.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/makefile.tstLinuxC

    r16430 r16454  
    2222
    2323tstLinuxC: tstLinuxC.o
    24         $(CC) -o $@ $^ -Wl,-rpath $(PATH_BIN) $(PATH_BIN)/VBoxXPCOMC.so
     24        $(CC) -o $@ $^ -Xlinker -rpath -Xlinker $(PATH_BIN) $(PATH_BIN)/VBoxXPCOMC.so
    2525
    2626tstLinuxC.o: tstLinuxC.c tstLinuxC.h
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette